root / tmp / org.txm.practically.rcp / plugin.xml @ 1720
Historique | Voir | Annoter | Télécharger (7,67 ko)
1 | 486 | mdecorde | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | 486 | mdecorde | <?eclipse version="3.2"?>
|
3 | 486 | mdecorde | <plugin>
|
4 | 486 | mdecorde | <extension-point id="xmlCommandHandlers" name="XMLCommandHandlers" schema="schema/xmlCommandHandlers.exsd"/> |
5 | 486 | mdecorde | <extension-point id="defineMacro" name="Define a macro" schema="schema/defineMacro.exsd"/> |
6 | 486 | mdecorde | <extension-point id="scriptingSupport" name="Macro Scripting Support" schema="schema/scriptingSupport.exsd"/> |
7 | 486 | mdecorde | <extension
|
8 | 486 | mdecorde | point="org.eclipse.core.runtime.preferences"> |
9 | 486 | mdecorde | <initializer
|
10 | 486 | mdecorde | class="practicallymacro.preferences.Initializer"> |
11 | 486 | mdecorde | </initializer>
|
12 | 486 | mdecorde | </extension>
|
13 | 486 | mdecorde | |
14 | 486 | mdecorde | <extension
|
15 | 486 | mdecorde | point="org.eclipse.ui.actionSets"> |
16 | 486 | mdecorde | <actionSet
|
17 | 486 | mdecorde | id="com.none.playActionSet" |
18 | 486 | mdecorde | label="EditorMacros.PlayActionSet" |
19 | 486 | mdecorde | visible="true"> |
20 | 486 | mdecorde | <action
|
21 | 486 | mdecorde | class="practicallymacro.actions.PlayDropdownAction" |
22 | 486 | mdecorde | definitionId="practicallymacro.actions.playLastMacro" |
23 | 486 | mdecorde | icon="icons/play.gif" |
24 | 486 | mdecorde | id="practicallymacro.actions.playMacroAction" |
25 | 486 | mdecorde | label="&Play Macro" |
26 | 486 | mdecorde | style="pulldown" |
27 | 486 | mdecorde | toolbarPath="Normal/additions" |
28 | 486 | mdecorde | tooltip="Play Macro"> |
29 | 486 | mdecorde | <!-- <enablement>
|
30 | 486 | mdecorde | <or>
|
31 | 486 | mdecorde | <objectClass name="org.eclipse.jface.text.ITextSelection"/>
|
32 | 486 | mdecorde | <objectClass name="org.eclipse.core.resources.IFile"/>
|
33 | 486 | mdecorde | </or>
|
34 | 486 | mdecorde | </enablement>
|
35 | 486 | mdecorde | -->
|
36 | 486 | mdecorde | </action>
|
37 | 486 | mdecorde | <action
|
38 | 486 | mdecorde | class="practicallymacro.actions.RecordCommandAction" |
39 | 486 | mdecorde | definitionId="practicallymacro.actions.recordMacro" |
40 | 486 | mdecorde | icon="icons/record.gif" |
41 | 486 | mdecorde | id="practicallymacro.actions.recordMacroAction" |
42 | 486 | mdecorde | label="&Record Macro" |
43 | 486 | mdecorde | retarget="false" |
44 | 486 | mdecorde | state="false" |
45 | 486 | mdecorde | style="push" |
46 | 486 | mdecorde | toolbarPath="Normal/additions" |
47 | 486 | mdecorde | tooltip="Record Macro"> |
48 | 486 | mdecorde | <!--<enablement>
|
49 | 486 | mdecorde | <or>
|
50 | 486 | mdecorde | <objectClass name="org.eclipse.jface.text.ITextSelection"/>
|
51 | 486 | mdecorde | </or>
|
52 | 486 | mdecorde | </enablement>-->
|
53 | 486 | mdecorde | </action>
|
54 | 486 | mdecorde | </actionSet>
|
55 | 486 | mdecorde | </extension>
|
56 | 486 | mdecorde | |
57 | 486 | mdecorde | <extension
|
58 | 486 | mdecorde | point="org.eclipse.ui.commands"> |
59 | 486 | mdecorde | <command
|
60 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
61 | 486 | mdecorde | defaultHandler="practicallymacro.commands.PlayHandler" |
62 | 486 | mdecorde | description="Play the last recorded macro" |
63 | 486 | mdecorde | id="practicallymacro.actions.playLastMacro" |
64 | 486 | mdecorde | name="Play last macro"/> |
65 | 486 | mdecorde | <command
|
66 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
67 | 486 | mdecorde | defaultHandler="practicallymacro.commands.QuickPlayHandler" |
68 | 486 | mdecorde | description="Play a command" |
69 | 486 | mdecorde | id="practicallymacro.actions.quickExecuteCommand" |
70 | 486 | mdecorde | name="Quick Play Command"/> |
71 | 486 | mdecorde | <command
|
72 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
73 | 486 | mdecorde | defaultHandler="practicallymacro.commands.RecordHandler" |
74 | 486 | mdecorde | description="Record a new macro" |
75 | 486 | mdecorde | id="practicallymacro.actions.recordMacro" |
76 | 486 | mdecorde | name="Record Macro"/> |
77 | 486 | mdecorde | <command
|
78 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
79 | 486 | mdecorde | defaultHandler="practicallymacro.commands.PlayCommand" |
80 | 486 | mdecorde | description="Play any defined command" |
81 | 486 | mdecorde | id="practicallymacro.actions.playCommand" |
82 | 486 | mdecorde | name="Play command"/> |
83 | 486 | mdecorde | <command
|
84 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
85 | 486 | mdecorde | defaultHandler="practicallymacro.commands.MarkSelectionStart" |
86 | 486 | mdecorde | description="Set the mark at the location of the current selection start." |
87 | 486 | mdecorde | id="practicallymacro.actions.markSelectionStartCommand" |
88 | 486 | mdecorde | name="Mark selection start"/> |
89 | 486 | mdecorde | <command
|
90 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
91 | 486 | mdecorde | defaultHandler="practicallymacro.commands.MarkSelectionEnd" |
92 | 486 | mdecorde | description="Set the mark at the location of the current selection end" |
93 | 486 | mdecorde | id="practicallymacro.actions.markSelectionEndCommand" |
94 | 486 | mdecorde | name="Mark selection end"/> |
95 | 486 | mdecorde | <command
|
96 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
97 | 486 | mdecorde | defaultHandler="practicallymacro.commands.MoveCursorToMark" |
98 | 486 | mdecorde | description="Set the cursor at the last mark location" |
99 | 486 | mdecorde | id="practicallymacro.actions.setCursorAtMarkCommand" |
100 | 486 | mdecorde | name="Set cursor at mark"/> |
101 | 486 | mdecorde | <category
|
102 | 486 | mdecorde | description="Editor macros defined by the user" |
103 | 486 | mdecorde | id="practicallymacro.category.usermacros" |
104 | 486 | mdecorde | name="User defined editor macros"> |
105 | 486 | mdecorde | </category>
|
106 | 486 | mdecorde | <category
|
107 | 486 | mdecorde | description="Utiliity commands for recording editor macros" |
108 | 486 | mdecorde | id="practicallymacro.category.utility.command" |
109 | 486 | mdecorde | name="PracticallyMacro utility command"> |
110 | 486 | mdecorde | </category>
|
111 | 486 | mdecorde | <command
|
112 | 486 | mdecorde | categoryId="practicallymacro.category.utility.command" |
113 | 486 | mdecorde | defaultHandler="practicallymacro.commands.ExtendSelectionToMark" |
114 | 486 | mdecorde | description="Extend the current selection to the current mark position, or the current cursor position if there is no mark. If there is no selection, use the current cursor position." |
115 | 486 | mdecorde | id="practicallymacro.actions.extendSelectionToMarkCommand" |
116 | 486 | mdecorde | name="Extend selection to mark"> |
117 | 486 | mdecorde | </command>
|
118 | 486 | mdecorde | </extension>
|
119 | 486 | mdecorde | <extension
|
120 | 486 | mdecorde | point="org.eclipse.ui.bindings"> |
121 | 486 | mdecorde | <key
|
122 | 486 | mdecorde | commandId="practicallymacro.actions.playLastMacro" |
123 | 486 | mdecorde | contextId="org.eclipse.ui.textEditorScope" |
124 | 486 | mdecorde | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
125 | 486 | mdecorde | sequence="M1+M3+P"/> |
126 | 486 | mdecorde | <key
|
127 | 486 | mdecorde | commandId="practicallymacro.actions.recordMacro" |
128 | 486 | mdecorde | contextId="org.eclipse.ui.textEditorScope" |
129 | 486 | mdecorde | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
130 | 486 | mdecorde | sequence="M1+M3+R"/> |
131 | 486 | mdecorde | <key
|
132 | 486 | mdecorde | commandId="practicallymacro.actions.quickExecuteCommand" |
133 | 486 | mdecorde | contextId="org.eclipse.ui.textEditorScope" |
134 | 486 | mdecorde | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
135 | 486 | mdecorde | sequence="M1+M3+Q"/> |
136 | 486 | mdecorde | </extension>
|
137 | 486 | mdecorde | <extension
|
138 | 486 | mdecorde | point="org.eclipse.ui.preferencePages"> |
139 | 486 | mdecorde | <page
|
140 | 486 | mdecorde | category="practicallymacro.editormacros.optionsPage" |
141 | 486 | mdecorde | class="practicallymacro.dialogs.MacroDefinitionsPage" |
142 | 486 | mdecorde | id="practicallymacro.editormacros.editingpage" |
143 | 486 | mdecorde | name="Editor Macro Definitions"> |
144 | 486 | mdecorde | </page>
|
145 | 486 | mdecorde | <page
|
146 | 486 | mdecorde | class="practicallymacro.dialogs.OptionsPage" |
147 | 486 | mdecorde | id="practicallymacro.editormacros.optionsPage" |
148 | 486 | mdecorde | name="Practically Macro Options"> |
149 | 486 | mdecorde | </page>
|
150 | 486 | mdecorde | </extension>
|
151 | 486 | mdecorde | |
152 | 486 | mdecorde | <extension point="org.eclipse.help.contexts"> |
153 | 486 | mdecorde | <contexts file="helpContexts.xml" /> |
154 | 486 | mdecorde | </extension>
|
155 | 486 | mdecorde | <extension
|
156 | 486 | mdecorde | point="org.eclipse.ui.startup"> |
157 | 486 | mdecorde | <startup
|
158 | 486 | mdecorde | class="practicallymacro.editormacros.MacroEarlyStatup"> |
159 | 486 | mdecorde | </startup>
|
160 | 486 | mdecorde | </extension>
|
161 | 912 | sjacqu01 | <extension
|
162 | 912 | sjacqu01 | point="org.txm.pratically.rcp.xmlCommandHandlers"> |
163 | 912 | sjacqu01 | <XMLCommandHandler
|
164 | 912 | sjacqu01 | class="practicallymacro.commands.EclipseCommand" |
165 | 912 | sjacqu01 | type="EclipseCommand"> |
166 | 912 | sjacqu01 | </XMLCommandHandler>
|
167 | 912 | sjacqu01 | <XMLCommandHandler
|
168 | 912 | sjacqu01 | class="practicallymacro.commands.InsertStringCommand" |
169 | 912 | sjacqu01 | type="InsertStringCommand"> |
170 | 912 | sjacqu01 | </XMLCommandHandler>
|
171 | 912 | sjacqu01 | <XMLCommandHandler
|
172 | 912 | sjacqu01 | class="practicallymacro.commands.MacroScriptCommand" |
173 | 912 | sjacqu01 | type="MacroScriptCommand"> |
174 | 912 | sjacqu01 | </XMLCommandHandler>
|
175 | 912 | sjacqu01 | <XMLCommandHandler
|
176 | 912 | sjacqu01 | class="practicallymacro.commands.StyledTextCommand" |
177 | 912 | sjacqu01 | type="styledTextCommand"> |
178 | 912 | sjacqu01 | </XMLCommandHandler>
|
179 | 912 | sjacqu01 | <XMLCommandHandler
|
180 | 912 | sjacqu01 | class="practicallymacro.commands.FindCommand" |
181 | 912 | sjacqu01 | type="MacroFindCommand"> |
182 | 912 | sjacqu01 | </XMLCommandHandler>
|
183 | 912 | sjacqu01 | <XMLCommandHandler
|
184 | 912 | sjacqu01 | class="practicallymacro.commands.KeystrokeCommand" |
185 | 912 | sjacqu01 | type="MacroKeystrokeCommand"> |
186 | 912 | sjacqu01 | </XMLCommandHandler>
|
187 | 912 | sjacqu01 | </extension>
|
188 | 486 | mdecorde | |
189 | 486 | mdecorde | </plugin> |