Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.4"?> |
||
| 3 | <plugin> |
||
| 4 | |||
| 5 | <extension |
||
| 6 | point="org.eclipse.ui.commands"> |
||
| 7 | <category |
||
| 8 | name="Sample Category" |
||
| 9 | id="impressoraplugin.commands.category"> |
||
| 10 | </category> |
||
| 11 | <command |
||
| 12 | name="Sample Command" |
||
| 13 | categoryId="impressoraplugin.commands.category" |
||
| 14 | id="impressoraplugin.commands.sampleCommand"> |
||
| 15 | </command> |
||
| 16 | </extension> |
||
| 17 | <extension |
||
| 18 | point="org.eclipse.ui.handlers"> |
||
| 19 | <handler |
||
| 20 | commandId="impressoraplugin.commands.sampleCommand" |
||
| 21 | class="impressoraplugin.handlers.SampleHandler"> |
||
| 22 | </handler> |
||
| 23 | </extension> |
||
| 24 | <extension |
||
| 25 | point="org.eclipse.ui.bindings"> |
||
| 26 | <key |
||
| 27 | commandId="impressoraplugin.commands.sampleCommand" |
||
| 28 | contextId="org.eclipse.ui.contexts.window" |
||
| 29 | sequence="M1+6" |
||
| 30 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
||
| 31 | </key> |
||
| 32 | </extension> |
||
| 33 | <extension |
||
| 34 | point="org.eclipse.ui.menus"> |
||
| 35 | <menuContribution |
||
| 36 | locationURI="menu:org.eclipse.ui.main.menu?after=additions"> |
||
| 37 | <menu |
||
| 38 | label="Sample Menu" |
||
| 39 | mnemonic="M" |
||
| 40 | id="impressoraplugin.menus.sampleMenu"> |
||
| 41 | <command |
||
| 42 | commandId="impressoraplugin.commands.sampleCommand" |
||
| 43 | mnemonic="S" |
||
| 44 | id="impressoraplugin.menus.sampleCommand"> |
||
| 45 | </command> |
||
| 46 | </menu> |
||
| 47 | </menuContribution> |
||
| 48 | <menuContribution |
||
| 49 | locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions"> |
||
| 50 | <toolbar |
||
| 51 | id="impressoraplugin.toolbars.sampleToolbar"> |
||
| 52 | <command |
||
| 53 | commandId="impressoraplugin.commands.sampleCommand" |
||
| 54 | icon="icons/sample.png" |
||
| 55 | tooltip="Say hello world" |
||
| 56 | id="impressoraplugin.toolbars.sampleCommand"> |
||
| 57 | </command> |
||
| 58 | </toolbar> |
||
| 59 | </menuContribution> |
||
| 60 | </extension> |
||
| 61 | |||
| 62 | </plugin> |