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