| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.0"?> |
| <plugin> |
| <extension |
| point="org.eclipse.ui.commands"> |
| <command |
| name="%command.open.name" |
| description="%command.open.desc" |
| categoryId="org.eclipse.linuxtools.systemtap.ui.editor.category.file" |
| id="org.eclipse.linuxtools.systemtap.ui.editor.commands.file.OpenFileCommand"/> |
| <category |
| name="%category.file.name" |
| description="%category.file.desc" |
| id="org.eclipse.linuxtools.systemtap.ui.editor.category.file"/> |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.handlers"> |
| <handler |
| class="org.eclipse.linuxtools.systemtap.ui.editor.handlers.file.OpenFileHandler" |
| commandId="org.eclipse.linuxtools.systemtap.ui.editor.commands.file.OpenFileCommand"> |
| <activeWhen> |
| <with |
| variable="activeWorkbenchWindow.activePerspective"> |
| <equals value="org.eclipse.linuxtools.systemtap.ui.ide.IDEPerspective"/> |
| </with> |
| </activeWhen> |
| </handler> |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution locationURI="toolbar:org.eclipse.ui.workbench.file?before=save"> |
| <command |
| commandId="org.eclipse.linuxtools.systemtap.ui.editor.commands.file.OpenFileCommand" |
| icon="icons/actions/file/open_wiz.gif" |
| label="%command.open.name"> |
| <visibleWhen checkEnabled="true"/> |
| </command> |
| </menuContribution> |
| </extension> |
| |
| </plugin> |