blob: 876abb94a968e65eb4089a63b74846411befaaba (
plain) (
tree)
|
|
<?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.core.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.uml.diagram.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>
|