diff options
Diffstat (limited to 'examples/uml/org.eclipse.papyrus.uml.diagram.emftree/plugin.xml')
-rw-r--r-- | examples/uml/org.eclipse.papyrus.uml.diagram.emftree/plugin.xml | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/examples/uml/org.eclipse.papyrus.uml.diagram.emftree/plugin.xml b/examples/uml/org.eclipse.papyrus.uml.diagram.emftree/plugin.xml index 1a42a4f00f2..f2ab829ab06 100644 --- a/examples/uml/org.eclipse.papyrus.uml.diagram.emftree/plugin.xml +++ b/examples/uml/org.eclipse.papyrus.uml.diagram.emftree/plugin.xml @@ -1,66 +1,66 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Create an UML 2 Tree (EMF Tree)"
- id="com.cea.papyrus.ui.emftree.createTree"
- name="Create Tree">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.uml.diagram.emftree.CreateEMFTreeDiagramHandler"
- commandId="com.cea.papyrus.ui.emftree.createTree">
- <enabledWhen>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.papyrus.infra.core.papyrusEditor">
- </equals>
- </with>
- </enabledWhen>
- </handler>
- </extension>
-
- <extension
- point="org.eclipse.papyrus.infra.ui.papyrusDiagram">
- <editorDiagram
- actionBarContributorId="org.eclipse.papyrus.uml.diagram.common.part.UMLDiagramActionBarContributor"
- contextId="defaultContext"
- factoryClass="org.eclipse.papyrus.uml.diagram.emftree.EmfTreeDiagramEditorFactory">
- </editorDiagram>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="menu:org.eclipse.papyrus.ui.menu">
- <menu
- id="org.eclipse.papyrus.uml.diagram.ui.menu.diagrams"
- label="Diagrams">
- <command
- commandId="com.cea.papyrus.ui.emftree.createTree"
- icon="icons/EmfTree.gif"
- label="Create a new EMF Tree"
- style="push"
- tooltip="Create a new EMF Tree">
- </command>
- </menu>
- </menuContribution>
- <menuContribution
- locationURI="toolbar:org.eclipse.ui.main.toolbar">
- <toolbar
- id="org.eclipse.papyrus.ui.toolbar">
- <command
- commandId="com.cea.papyrus.ui.emftree.createTree"
- icon="icons/EmfTree.gif"
- label="Create a new EMF Tree"
- style="push"
- tooltip="Create a new EMF Tree">
- </command>
- </toolbar>
- </menuContribution>
- </extension>
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.2"?> +<plugin> + <extension + point="org.eclipse.ui.commands"> + <command + description="Create an UML 2 Tree (EMF Tree)" + id="com.cea.papyrus.ui.emftree.createTree" + name="Create Tree"> + </command> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.papyrus.uml.diagram.emftree.CreateEMFTreeDiagramHandler" + commandId="com.cea.papyrus.ui.emftree.createTree"> + <enabledWhen> + <with + variable="activeEditorId"> + <equals + value="org.eclipse.papyrus.infra.core.papyrusEditor"> + </equals> + </with> + </enabledWhen> + </handler> + </extension> + + <extension + point="org.eclipse.papyrus.infra.ui.papyrusDiagram"> + <editorDiagram + actionBarContributorId="org.eclipse.papyrus.uml.diagram.common.part.UMLDiagramActionBarContributor" + contextId="defaultContext" + factoryClass="org.eclipse.papyrus.uml.diagram.emftree.EmfTreeDiagramEditorFactory"> + </editorDiagram> + </extension> + <extension + point="org.eclipse.ui.menus"> + <menuContribution + locationURI="menu:org.eclipse.papyrus.ui.menu"> + <menu + id="org.eclipse.papyrus.uml.diagram.ui.menu.diagrams" + label="Diagrams"> + <command + commandId="com.cea.papyrus.ui.emftree.createTree" + icon="icons/EmfTree.gif" + label="Create a new EMF Tree" + style="push" + tooltip="Create a new EMF Tree"> + </command> + </menu> + </menuContribution> + <menuContribution + locationURI="toolbar:org.eclipse.ui.main.toolbar"> + <toolbar + id="org.eclipse.papyrus.ui.toolbar"> + <command + commandId="com.cea.papyrus.ui.emftree.createTree" + icon="icons/EmfTree.gif" + label="Create a new EMF Tree" + style="push" + tooltip="Create a new EMF Tree"> + </command> + </toolbar> + </menuContribution> + </extension> +</plugin> |