blob: f5322b31ed9c0e3b18248b04065e751e5d181d8c (
plain) (
tree)
|
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.gmf.runtime.common.ui.services.action.contributionItemProviders">
<contributionItemProvider
checkPluginLoaded="false"
class="org.eclipse.papyrus.uml.diagram.menu.actions.gmf.CustomContributionItemProvider">
<Priority
name="High">
</Priority>
<!-- we rewrite this action, because the backgound of the note is black-->
<popupContribution
class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupAction
id="customAddNoteLinkAction"
path="/diagramAddmenu/addDiagramGeneralGroup">
</popupAction>
</popupContribution>
</contributionItemProvider>
</extension>
<extension
id="ID:DiagramMenuDefinition"
name="Name:DiagramMenuDefinition"
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.papyrus.ui.menu">
<menu
icon="icons/papyrus.png"
id="org.eclipse.papyrus.uml.diagram.ui.menu"
label="&Diagram"
tooltip="Diagram Menu">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu?after=filtersMenu">
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.select.menu"
label="Se&lect"
tooltip="Select Menu">
<command
commandId="org.eclipse.ui.edit.selectAll"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.select.all"
label="&All"
style="push"
tooltip="Select All">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectshapes.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.select.all.shapes"
label="All &Shapes"
style="push"
tooltip="Select All Shapes">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllConnectorsCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectconnectors.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.select.all.connectors"
label="All &Connectors"
style="push"
tooltip="Select All Connectors">
</command>
<visibleWhen
checkEnabled="true">
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
<with
variable="selection">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart">
</instanceof>
</iterate>
</and>
</with>
</and>
</visibleWhen>
</menu>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeAllCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.arrange.all"
label="Arran&ge All"
style="push"
tooltip="Arrange All">
<visibleWhen
checkEnabled="true">
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
<with
variable="selection">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart">
</instanceof>
</iterate>
</and>
</with>
</and>
</visibleWhen>
</command>
<menu
icon="icons/papyrus.png"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format"
label="For&mat"
tooltip="Papyrus Format Menu">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</menu>
<menu
icon="icons/papyrus.png"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters"
label="F&ilters"
tooltip="Papyrus Filters Menu">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters.end.separator">
</separator>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu?after=endFilterMenu">
<menu
icon="icons/papyrus.png"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.view"
label="&View"
tooltip="Papyrus View Menu">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.providers/icons/zoomplus.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.zoom"
label="&Zoom"
tooltip="Zoom Menu">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=org.eclipse.papyrus.ui.toolbar">
<toolbar
id="org.eclipes.papyrus.menu.toolbar"
label="Papyrus Toolbar Action">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/line_style_group.gif"
id="org.eclipse.papyrus.menu.line.style.toolbar.command"
style="pulldown"
tooltip="Line Style Action">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.toolbar.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.CopyAppearancePropertiesCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/copy_appearance_properties.gif"
label="Apply Appearance &Properties"
style="push"
tooltip="Apply the applicable appearance properties of the last selected shape to the other selected shapes.">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.toolbar.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif"
id="org.eclipse.papyrus.menu.select.toolbar.command"
style="pulldown"
tooltip="Select Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
id="org.eclipse.papyrus.menu.arrange.toolbar.command"
style="pulldown"
tooltip="Arrange Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="icons/alignleft.gif"
id="org.eclipse.papyrus.menu.alignment.toolbar.command"
style="pulldown"
tooltip="Alignment Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="icons/textAlignLeft.png"
id="org.eclipse.papyrus.menu.text_alignment.toolbar.command"
style="pulldown"
tooltip="Text Alignment Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="icons/fantom.gif"
id="org.eclipse.papyrus.menu.showhide.toolbar.command"
style="pulldown"
tooltip="Show/Hide Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="icons/horizontal_by_left.gif"
id="org.eclipse.papyrus.menu.routing.toolbar.command"
style="pulldown"
tooltip="Routing Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
icon="icons/distribute_horizontally.gif"
id="org.eclipse.papyrus.menu.distribute.toolbar.command"
style="pulldown"
tooltip="Distribute Actions">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.toolbar.separator2"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SnapBack"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/snapback.gif"
label="&Snap Back"
style="push"
tooltip="Reset the element to its initial location">
<visibleWhen
checkEnabled="false">
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.autosize"
icon="icons/autosize.gif"
style="push"
tooltip="Auto Size">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.toolbar.same.size.command"
icon="icons/size_to_control.gif"
id="org.eclipse.papyrus.menu.size.toolbar.command"
style="pulldown"
tooltip="Make Same Size">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<dynamic
class="org.eclipse.papyrus.uml.diagram.menu.toolbar.ZoomToolbar"
id="zoomToolBar">
<visibleWhen
checkEnabled="false">
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</dynamic>
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.line.style.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.rectilinear"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/rectilinear.gif"
id="org.eclipse.papyrus.menu.line.style.toolbar.rectilinear"
label="&Rectilinear Style Routing"
style="toggle"
tooltip="Change routing to rectilinear style for connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.oblique"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/oblique.gif"
id="org.eclipse.papyrus.menu.line.style.toolbar.oblique"
label="&Oblique Style Routing"
style="toggle"
tooltip="Change routing to oblique style for connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.tree"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/tree.gif"
id="org.eclipse.papyrus.menu.line.style.toolbar.tree"
label="&Tree Style Routing"
style="toggle"
tooltip="Change routing to tree style for connectors">
</command>
<separator
name="org.eclipse.papyrus.menu.line.style.toolbar.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.removebendpoint"
icon="icons/no_bendpoints.gif"
id="org.eclipse.papyrus.menu.line.style.toolbar.no.bendpoint"
label="Remove &all bendpoints"
style="push"
tooltip="Remove all bendpoints on the selected connectors">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.select.toolbar.command">
<command
commandId="org.eclipse.ui.edit.selectAll"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif"
label="Select &All"
style="push"
tooltip="Select All">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectshapes.gif"
label="Select All &Shapes"
style="push"
tooltip="Select All Shapes">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllConnectorsCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectconnectors.gif"
label="Select All &Connectors"
style="push"
tooltip="Select All Connectors">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.arrange.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeAllCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
label="Arran&ge All"
style="push"
tooltip="Arrange All">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeSelectionCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeselected.gif"
label="Arrange &Selection"
style="push"
tooltip="Arrange Selection">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.alignment.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.left"
icon="icons/alignleft.gif"
label="Align &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.center"
icon="icons/aligncenter.gif"
label="Align &Center"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.right"
icon="icons/alignright.gif"
label="Align &Right"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.alignment.pulldown.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.bottom"
icon="icons/alignbottom.gif"
label="Align &Bottom"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.middle"
icon="icons/alignmid.gif"
label="Align &Middle"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.top"
icon="icons/aligntop.gif"
label="Align &Top"
style="push">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.text_alignment.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.left"
icon="icons/textAlignLeft.png"
label="Text Align &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.center"
icon="icons/textAlignCenter.png"
label="Text Align &Center"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.right"
icon="icons/textAlignRight.png"
label="Text Align &Right"
style="push">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.showhide.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideContentsCommand"
icon="icons/fantomContents.gif"
label="Show/Hide &Contents"
style="push"
tooltip="The Show/Hide Contents Action">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideCompartmentCommand"
icon="icons/fantomCompartment.gif"
label="Show/Hide Com&partments"
style="push"
tooltip="The Show/Hide Compartments Action">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideRelatedLinkCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowRelatedLinkBetweenSelectedElementsCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowAllRelatedLinkCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SortFilterCompartmentItemsCommand"
helpContextId="ActionToolTipText"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/sortfilter.gif"
label="Sort/&Filter Compartments Items..."
style="push"
tooltip="Sort or Filter Compartments Items for this shape">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<separator
name="org.eclipse.papyrus.menu.showhide.toolbar.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.toggleCanonical"
label="Synchronized with Model"
style="toggle"
tooltip="Automatically synchronize contents with the underlying model elements">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<separator
name="org.eclipse.papyrus.menu.showhide.toolbar.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.show.all"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/showconnector.gif"
id="org.eclipse.papyrus.menu.showhide.toolbar.all.connector.label"
label="Show All Labels"
style="push"
tooltip="Display all labels on the selected connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.hide.all"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/hideconnector.gif"
id="org.eclipse.papyrus.menu.showhide.toolbar.no.connector.label"
label="Hide All Labels"
style="push"
tooltip="Hide all labels on the selected Connections">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.manager"
icon="icons/manage_connector_label.gif"
id="org.eclipse.papyrus.menu.showhide.toolbar.manage.connector.label"
label="Show/Hide Labels"
style="push"
tooltip="Manage the labels to display for the selected connections">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.routing.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.left"
icon="icons/horizontal_by_left.gif"
label="Set Horizontal By &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.right"
icon="icons/horizontal_by_right.gif"
label="Set Horizontal By &Right"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.routing.pulldown.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.top"
icon="icons/vertical_by_top.gif"
label="Set Vertical By &Top"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.bottom"
icon="icons/vertical_by_bottom.gif"
label="Set Vertical By &Bottom"
style="push">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.distribute.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally"
icon="icons/distribute_horizontally.gif"
label="Distribute Nodes/Links &Horizontally"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally_between_nodesly"
icon="icons/distribute_horizontally_between_nodes.gif"
label="Distribute Nodes/Links H&orizontally Between 2 Nodes"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.distribute.pulldown.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically"
icon="icons/distibute_vertically.gif"
label="Distribute Nodes/Links &Vertically"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically_between_nodes"
icon="icons/distribute_vertically_between_nodes.gif"
label="Distribute Nodes/Links V&ertically Between 2 Nodes"
style="push">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.menu.size.toolbar.command">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.both"
icon="icons/size_to_control.gif"
label="&Both"
style="push"
tooltip="Set the dimension of the last selected element">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.height"
icon="icons/size_to_control_height.gif"
label="&Height"
style="push"
tooltip="Set the height of the last selected element">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.width"
icon="icons/size_to_control_width.gif"
label="&Width"
style="push"
tooltip="Set the width of the last selected element">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.papyrus.uml.diagram.ui.menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.FontCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/font_color.gif"
label="&Font..."
style="push"
tooltip="Font">
<visibleWhen
checkEnabled="false">
</visibleWhen>
</command>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/fill_color.gif"
label="Fill &Color"
tooltip="Fill Color">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.white.command"
icon="icons/colors/white.gif"
label="White"
style="push"
tooltip="White">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.black.command"
icon="icons/colors/black.gif"
label="Black"
style="push"
tooltip="Black">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.lightgray.command"
icon="icons/colors/light_gray.gif"
label="Light Gray"
style="push"
tooltip="Light Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.gray.command"
icon="icons/colors/gray.gif"
label="Gray"
style="push"
tooltip="Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.darkgray.command"
icon="icons/colors/dark_gray.gif"
label="Dark Gray"
style="push"
tooltip="Dark Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.red.command"
icon="icons/colors/red.gif"
label="Red"
style="push"
tooltip="Red">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.green.command"
icon="icons/colors/green.gif"
label="Green"
style="push"
tooltip="Green">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.blue.command"
icon="icons/colors/blue.gif"
label="Blue"
style="push"
tooltip="Blue">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.yellow.command"
icon="icons/colors/yellow.gif"
label="Yellow"
style="push"
tooltip="Yellow">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.magenta.command"
icon="icons/colors/magenta.gif"
label="Magenta"
style="push"
tooltip="Magenta">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.cyan.command"
icon="icons/colors/cyan.gif"
label="Cyan"
style="push"
tooltip="Cyan">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.pink.command"
icon="icons/colors/pink.gif"
label="Pink"
style="push"
tooltip="Pink">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.orange.command"
icon="icons/colors/orange.gif"
label="Orange"
style="push"
tooltip="Orange">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.fill.color.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.defaultcolor.command"
label="&Default Color"
style="push"
tooltip="Default Colors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.morecolors.command"
label="&More colors..."
style="push"
tooltip="More Colors">
</command>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/line_color.gif"
label="Li&ne Color"
tooltip="Line Color">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.white.command"
icon="icons/colors/white.gif"
label="White"
style="push"
tooltip="White">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.black.command"
icon="icons/colors/black.gif"
label="Black"
style="push"
tooltip="Black">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.lightgray.command"
icon="icons/colors/light_gray.gif"
label="Light Gray"
style="push"
tooltip="Light Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.gray.command"
icon="icons/colors/gray.gif"
label="Gray"
style="push"
tooltip="Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.darkgray.command"
icon="icons/colors/dark_gray.gif"
label="Dark Gray"
style="push"
tooltip="Dark Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.red.command"
icon="icons/colors/red.gif"
label="Red"
style="push"
tooltip="Red">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.green.command"
icon="icons/colors/green.gif"
label="Green"
style="push"
tooltip="Green">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.blue.command"
icon="icons/colors/blue.gif"
label="Blue"
style="push"
tooltip="Blue">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.yellow.command"
icon="icons/colors/yellow.gif"
label="Yellow"
style="push"
tooltip="Yellow">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.magenta.command"
icon="icons/colors/magenta.gif"
label="Magenta"
style="push"
tooltip="Magenta">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.cyan.command"
icon="icons/colors/cyan.gif"
label="Cyan"
style="push"
tooltip="Cyan">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.pink.command"
icon="icons/colors/pink.gif"
label="Pink"
style="push"
tooltip="Pink">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.orange.command"
icon="icons/colors/orange.gif"
label="Orange"
style="push"
tooltip="Orange">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.line.color.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.defaultcolor.command"
label="&Default Color"
style="push"
tooltip="Default Colors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.morecolors.command"
label="&More colors..."
style="push"
tooltip="More Colors">
</command>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/line_style_group.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.line.style.menu"
label="Line &Style"
tooltip="Line Style">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.rectilinear"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/rectilinear.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.line.style.rectilinear"
label="&Rectilinear Style Routing"
style="toggle"
tooltip="Change routing to rectilinear style for connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.oblique"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/oblique.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.line.style.oblique"
label="&Oblique Style Routing"
style="toggle"
tooltip="Change routing to oblique style for connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.tree"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/tree.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.line.style.tree"
label="&Tree Style Routing"
style="toggle"
tooltip="Change routing to tree style for connectors">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.menu.line.style.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.removebendpoint"
icon="icons/no_bendpoints.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.line.style.no.bendpoint"
label="Remove &all bendpoints"
style="push"
tooltip="Remove all bendpoints on the selected connectors">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.separator0"
visible="true">
</separator>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif"
label="Se&lect"
tooltip="Select Menu">
<command
commandId="org.eclipse.ui.edit.selectAll"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif"
label="&All"
style="push"
tooltip="Select All">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectshapes.gif"
label="All &Shapes"
style="push"
tooltip="Select All Shapes">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllConnectorsCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectconnectors.gif"
label="All &Connectors"
style="push"
tooltip="Select All Connectors">
</command>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
label="A&rrange"
tooltip="Arrange Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeAllCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
label="&All"
style="push"
tooltip="Arrange All">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeSelectionCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeselected.gif"
label="&Selection"
style="push"
tooltip="Arrange Selection">
</command>
</menu>
<menu
icon="icons/alignleft.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.alignMenu"
label="Ali&gnment"
tooltip="Alignement Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.left"
icon="icons/alignleft.gif"
label="Align &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.center"
icon="icons/aligncenter.gif"
label="Align &Center"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.right"
icon="icons/alignright.gif"
label="Align &Right"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.papyrus.alignment.menu.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.bottom"
icon="icons/alignbottom.gif"
label="Align &Bottom"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.middle"
icon="icons/alignmid.gif"
label="Align &Middle"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.top"
icon="icons/aligntop.gif"
label="Align &Top"
style="push">
</command>
</menu>
<menu
icon="icons/textAlignLeft.png"
id="org.eclipse.papyrus.uml.diagram.ui.menu.textAlignMenu"
label="Text Alignment"
tooltip="Text Alignement Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.left"
icon="icons/textAlignLeft.png"
label="Text Align &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.center"
icon="icons/textAlignCenter.png"
label="Text Align &Center"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.right"
icon="icons/textAlignRight.png"
label="Text Align &Right"
style="push">
</command>
</menu>
<menu
icon="icons/horizontal_by_left.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.routingMenu"
label="&Routing"
tooltip="Routing Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.left"
icon="icons/horizontal_by_left.gif"
label="Set Horizontal By &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.right"
icon="icons/horizontal_by_right.gif"
label="Set Horizontal By &Right"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.papyrus.menu.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.top"
icon="icons/vertical_by_top.gif"
label="Set Vertical By &Top"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.bottom"
icon="icons/vertical_by_bottom.gif"
label="Set Vertical By &Bottom"
style="push">
</command>
</menu>
<menu
icon="icons/distribute_horizontally.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.distributeMenu"
label="&Distribution"
tooltip="Distribute Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally"
icon="icons/distribute_horizontally.gif"
label="Distribute Nodes/Links &Horizontally"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally_between_nodesly"
icon="icons/distribute_horizontally_between_nodes.gif"
label="Distribute Nodes/Links H&orizontally Between 2 Nodes"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.distribute.menu.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically"
icon="icons/distibute_vertically.gif"
label="Distribute Nodes/Links &Vertically"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically_between_nodes"
icon="icons/distribute_vertically_between_nodes.gif"
label="Distribute Nodes/Links V&ertically Between 2 Nodes"
style="push">
</command>
</menu>
<menu
label="&Order"
tooltip="Order">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.BringToFrontCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/bring_to_front.gif"
label="Bring To &Front"
style="push"
tooltip="Bring To Front">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SendToBackCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/send_to_back.gif"
label="Send To &Back"
style="push"
tooltip="Send To Back">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.BringForwardCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/bring_forward.gif"
label="Bring F&orward"
style="push"
tooltip="Bring Forward">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SendBackwardCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/send_backward.gif"
label="Send B&ackward"
style="push"
tooltip="Send Backward">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SnapBack"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/snapback.gif"
label="&Snap Back"
style="push"
tooltip="Reset the element to its initial location">
<visibleWhen
checkEnabled="false">
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.autosize"
icon="icons/autosize.gif"
label="&Auto Size"
style="push"
tooltip="Auto Size">
</command>
<menu
icon="icons/size_to_control.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.sameSizeMenu"
label="&Make Same Size"
tooltip="Make Same Size Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.both"
icon="icons/size_to_control.gif"
label="&Both"
style="push"
tooltip="Set the dimension of the last selected element">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.height"
icon="icons/size_to_control_height.gif"
label="&Height"
style="push"
tooltip="Set the height of the last selected element">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.width"
icon="icons/size_to_control_width.gif"
label="&Width"
style="push"
tooltip="Set the width of the last selected element">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.separator2"
visible="true">
</separator>
<menu
icon="icons/fantom.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.filtersMenu"
label="&Filters"
tooltip="Filters Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideContentsCommand"
icon="icons/fantomContents.gif"
id="showh"
label="Show/Hide &Contents"
style="push"
tooltip="The Show/Hide Contents Action">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideCompartmentCommand"
icon="icons/fantomCompartment.gif"
label="Show/Hide &Compartments"
style="push"
tooltip="The Show/Hide Compartments Action">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideRelatedLinkCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowRelatedLinkBetweenSelectedElementsCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideRelatedLinkCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SortFilterCompartmentItemsCommand"
helpContextId="ActionToolTipText"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/sortfilter.gif"
label="Sort/&Filter Compartments Items..."
style="push"
tooltip="Sort or Filter Compartments Items for this shape">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.menu.filtersMenu.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.toggleCanonical"
label="Synchronized with Model"
style="toggle"
tooltip="Automatically synchronize contents with the underlying model elements">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.menu.filtersMenu.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.show.all"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/showconnector.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.filtersMenu.all.connector.label"
label="Show All Labels"
style="push"
tooltip="Display all labels on the selected connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.hide.all"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/hideconnector.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.filtersMenu.no.connector.label"
label="Hide All Labels"
style="push"
tooltip="Hide all labels on the selected Connections">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.manager"
icon="icons/manage_connector_label.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.filtersMenu.manage.connector.label"
label="Show/Hide Labels"
style="push"
tooltip="Manage the labels to display for the selected connections">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.separator3"
visible="true">
</separator>
<menu
label="&View"
tooltip="This Menu provides Action for the View">
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewGridCommand"
label="&Grid"
style="toggle"
tooltip="Toggle the grid lines on the diagram">
</command>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewRulersCommand"
label="&Rulers"
style="toggle"
tooltip="Toggle the rulers on the diagram">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.view.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewPageBreaksCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/viewpagebreaks.gif"
label="&Page Breaks"
style="toggle"
tooltip="Show the page breaks on the diagram">
</command>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.RecalculatePageBreaksCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/recalcpagebreaks.gif"
label="&Recalculate Page Breaks"
style="push"
tooltip="Recalculate Page Breaks">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.view.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.SnapToGridCommand"
label="&Snap to Grid"
style="toggle"
tooltip="Toggle Snap to Grid">
</command>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.providers/icons/zoomplus.gif"
id="org.eclipse.papyrus.uml.diagram.ui.menu.zoomMenu"
label="&Zoom"
tooltip="Zoom Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomplus.gif"
label="Zoom &In"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomOutCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomminus.gif"
label="Zoom &Out"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.Zoom100Command"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoom100.gif"
label="Zoom &to 100%"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomFitCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Zoom to &Fit"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomWidthCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Fit to &Width"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomHeightCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Fit to &Height"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomSelectionCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Fit to &Selection"
style="push">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.separator4"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.CopyAppearancePropertiesCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/copy_appearance_properties.gif"
label="Apply Appearance &Properties"
style="push"
tooltip="Apply the applicable appearance properties of the last selected shape to the other selected shapes.">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.papyrus.uml.diagram.ui.popupmenu.format">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.FontCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/font_color.gif"
label="&Font..."
style="push"
tooltip="Font">
<visibleWhen
checkEnabled="false">
</visibleWhen>
</command>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/fill_color.gif"
label="Fill &Color"
tooltip="Fill Color">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.white.command"
icon="icons/colors/white.gif"
label="White"
style="push"
tooltip="White">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.black.command"
icon="icons/colors/black.gif"
label="Black"
style="push"
tooltip="Black">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.lightgray.command"
icon="icons/colors/light_gray.gif"
label="Light Gray"
style="push"
tooltip="Light Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.gray.command"
icon="icons/colors/gray.gif"
label="Gray"
style="push"
tooltip="Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.darkgray.command"
icon="icons/colors/dark_gray.gif"
label="Dark Gray"
style="push"
tooltip="Dark Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.red.command"
icon="icons/colors/red.gif"
label="Red"
style="push"
tooltip="Red">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.green.command"
icon="icons/colors/green.gif"
label="Green"
style="push"
tooltip="Green">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.blue.command"
icon="icons/colors/blue.gif"
label="Blue"
style="push"
tooltip="Blue">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.yellow.command"
icon="icons/colors/yellow.gif"
label="Yellow"
style="push"
tooltip="Yellow">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.magenta.command"
icon="icons/colors/magenta.gif"
label="Magenta"
style="push"
tooltip="Magenta">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.cyan.command"
icon="icons/colors/cyan.gif"
label="Cyan"
style="push"
tooltip="Cyan">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.pink.command"
icon="icons/colors/pink.gif"
label="Pink"
style="push"
tooltip="Pink">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.orange.command"
icon="icons/colors/orange.gif"
label="Orange"
style="push"
tooltip="Orange">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.fill.color.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.defaultcolor.command"
label="&Default Color"
style="push"
tooltip="Default Colors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.morecolors.command"
label="&More colors..."
style="push"
tooltip="More Colors">
</command>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/line_color.gif"
label="Li&ne Color"
tooltip="Line Color">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.white.command"
icon="icons/colors/white.gif"
label="White"
style="push"
tooltip="White">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.black.command"
icon="icons/colors/black.gif"
label="Black"
style="push"
tooltip="Black">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.lightgray.command"
icon="icons/colors/light_gray.gif"
label="Light Gray"
style="push"
tooltip="Light Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.gray.command"
icon="icons/colors/gray.gif"
label="Gray"
style="push"
tooltip="Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.darkgray.command"
icon="icons/colors/dark_gray.gif"
label="Dark Gray"
style="push"
tooltip="Dark Gray">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.red.command"
icon="icons/colors/red.gif"
label="Red"
style="push"
tooltip="Red">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.green.command"
icon="icons/colors/green.gif"
label="Green"
style="push"
tooltip="Green">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.blue.command"
icon="icons/colors/blue.gif"
label="Blue"
style="push"
tooltip="Blue">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.yellow.command"
icon="icons/colors/yellow.gif"
label="Yellow"
style="push"
tooltip="Yellow">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.magenta.command"
icon="icons/colors/magenta.gif"
label="Magenta"
style="push"
tooltip="Magenta">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.cyan.command"
icon="icons/colors/cyan.gif"
label="Cyan"
style="push"
tooltip="Cyan">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.pink.command"
icon="icons/colors/pink.gif"
label="Pink"
style="push"
tooltip="Pink">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.orange.command"
icon="icons/colors/orange.gif"
label="Orange"
style="push"
tooltip="Orange">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.line.color.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.defaultcolor.command"
label="&Default Color"
style="push"
tooltip="Default Colors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.morecolors.command"
label="&More colors..."
style="push"
tooltip="More Colors">
</command>
</menu>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/line_style_group.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.line.style.menu"
label="Line &Style"
tooltip="Line Style">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.rectilinear"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/rectilinear.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.line.style.rectilinear"
label="&Rectilinear Style Routing"
style="toggle"
tooltip="Change routing to rectilinear style for connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.oblique"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/oblique.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.line.style.oblique"
label="&Oblique Style Routing"
style="toggle"
tooltip="Change routing to oblique style for connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.tree"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/tree.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.line.style.tree"
label="&Tree Style Routing"
style="toggle"
tooltip="Change routing to tree style for connectors">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.line.style.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.removebendpoint"
icon="icons/no_bendpoints.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.line.style.no.bendpoint"
label="Remove &all bendpoints"
style="push"
tooltip="Remove all bendpoints on the selected connectors">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.popup.separator0"
visible="true">
</separator>
<menu
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
label="A&rrange"
tooltip="Arrange Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeAllCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeall.gif"
label="&All"
style="push"
tooltip="Arrange All">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeSelectionCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/arrangeselected.gif"
label="&Selection"
style="push"
tooltip="Arrange Selection">
</command>
</menu>
<menu
icon="icons/alignleft.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.alignMenu"
label="Ali&gnment"
tooltip="Alignement Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.left"
icon="icons/alignleft.gif"
label="Align &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.center"
icon="icons/aligncenter.gif"
label="Align &Center"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.right"
icon="icons/alignright.gif"
label="Align &Right"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.papyrus.alignment.popup.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.bottom"
icon="icons/alignbottom.gif"
label="Align &Bottom"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.middle"
icon="icons/alignmid.gif"
label="Align &Middle"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.top"
icon="icons/aligntop.gif"
label="Align &Top"
style="push">
</command>
</menu>
<menu
icon="icons/textAlignLeft.png"
id="org.eclipse.papyrus.uml.diagram.ui.menu.textAlignMenu"
label="Text Alignment"
tooltip="Text Alignement Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.left"
icon="icons/textAlignLeft.png"
label="Text Align &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.center"
icon="icons/textAlignCenter.png"
label="Text Align &Center"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.right"
icon="icons/textAlignRight.png"
label="Text Align &Right"
style="push">
</command>
</menu>
<menu
icon="icons/horizontal_by_left.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.routingMenu"
label="&Routing"
tooltip="Routing Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.left"
icon="icons/horizontal_by_left.gif"
label="Set Horizontal By &Left"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.right"
icon="icons/horizontal_by_right.gif"
label="Set Horizontal By &Right"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.routing.popup.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.top"
icon="icons/vertical_by_top.gif"
label="Set Vertical By &Top"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.bottom"
icon="icons/vertical_by_bottom.gif"
label="Set Vertical By &Bottom"
style="push">
</command>
</menu>
<menu
icon="icons/distribute_horizontally.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.distributeMenu"
label="&Distribution"
tooltip="Distribute Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally"
icon="icons/distribute_horizontally.gif"
label="Distribute Nodes/Links &Horizontally"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally_between_nodesly"
icon="icons/distribute_horizontally_between_nodes.gif"
label="Distribute Nodes/Links H&orizontally Between 2 Nodes"
style="push">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.distribute.popup.separator"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically"
icon="icons/distibute_vertically.gif"
label="Distribute Nodes/Links &Vertically"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically_between_nodes"
icon="icons/distribute_vertically_between_nodes.gif"
label="Distribute Nodes/Links V&ertically Between 2 Nodes"
style="push">
</command>
</menu>
<menu
label="&Order"
tooltip="Order">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.BringToFrontCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/bring_to_front.gif"
label="Bring To &Front"
style="push"
tooltip="Bring To Front">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SendToBackCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/send_to_back.gif"
label="Send To &Back"
style="push"
tooltip="Send To Back">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.BringForwardCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/bring_forward.gif"
label="Bring F&orward"
style="push"
tooltip="Bring Forward">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SendBackwardCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/send_backward.gif"
label="Send B&ackward"
style="push"
tooltip="Send Backward">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.popup.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SnapBack"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/snapback.gif"
label="&Snap Back"
style="push"
tooltip="Reset the element to its initial location">
<visibleWhen
checkEnabled="false">
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.autosize"
icon="icons/autosize.gif"
label="&Autosize"
style="push"
tooltip="Auto Size">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
<menu
icon="icons/size_to_control.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.format.sameSizeMenu"
label="&Make Same Size"
tooltip="Make Same Size Menu">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.both"
icon="icons/size_to_control.gif"
label="&Both"
style="push"
tooltip="Set the dimension of the last selected element">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.height"
icon="icons/size_to_control_height.gif"
label="&Height"
style="push"
tooltip="Set the height of the last selected element">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.width"
icon="icons/size_to_control_width.gif"
label="&Width"
style="push"
tooltip="Set the width of the last selected element">
</command>
</menu>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.popup.separator2"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.CopyAppearancePropertiesCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/copy_appearance_properties.gif"
label="Apply Appearance &Properties"
style="push"
tooltip="Apply the applicable appearance properties of the last selected shape to the other selected shapes.">
<visibleWhen>
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideContentsCommand"
icon="icons/fantomContents.gif"
id="showhidecontents.popup"
label="Show/Hide &Contents"
style="push"
tooltip="The Show/Hide Contents Action">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideCompartmentCommand"
icon="icons/fantomCompartment.gif"
id="showhidecompartments.popup"
label="Show/Hide Com&partments"
style="push"
tooltip="The Show/Hide Compartments Action">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideRelatedLinkCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowRelatedLinkBetweenSelectedElementsCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowAllRelatedLinkCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SortFilterCompartmentItemsCommand"
helpContextId="ActionToolTipText"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/sortfilter.gif"
label="Sort/&Filter Compartments Items..."
style="push"
tooltip="Sort or Filter Compartments Items for this shape">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.toggleCanonical"
label="Synchronized with Model"
style="toggle"
tooltip="Automatically synchronize contents with the underlying model elements">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters.separator0"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.show.all"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/showconnector.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters.all.connector.label"
label="Show All Labels"
style="push"
tooltip="Display all labels on the selected connectors">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.hide.all"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/hideconnector.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters.no.connector.label"
label="Hide All Labels"
style="push"
tooltip="Hide all labels on the selected Connections">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.manager"
icon="icons/manage_connector_label.gif"
id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.filters.manage.connector.label"
label="Show/Hide Labels"
style="push"
tooltip="Manage the labels to display for the selected connections">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.papyrus.uml.diagram.ui.popupmenu.view">
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewGridCommand"
label="&Grid"
style="toggle"
tooltip="Toggle the grid lines on the diagram">
</command>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewRulersCommand"
label="&Rulers"
style="toggle"
tooltip="Toggle the rulers on the diagram">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.popup.view.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewPageBreaksCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/viewpagebreaks.gif"
label="&Page Breaks"
style="toggle"
tooltip="Show the page breaks on the diagram">
</command>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.RecalculatePageBreaksCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/recalcpagebreaks.gif"
label="&Recalculate Page Breaks"
style="push"
tooltip="Recalculate Page Breaks">
</command>
<separator
name="org.eclipse.papyrus.uml.diagram.menu.popup.view.separator2"
visible="true">
</separator>
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.SnapToGridCommand"
label="Snap to &Grid"
style="toggle"
tooltip="Toggle Snap to Grid">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.papyrus.uml.diagram.ui.popupmenu.zoom">
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomplus.gif"
label="Zoom &In"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomOutCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomminus.gif"
label="Zoom &Out"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.Zoom100Command"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoom100.gif"
label="Zoom &to 100%"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomFitCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Zoom to &Fit"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomWidthCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Fit to &Width"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomHeightCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Fit to &Heightight"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomSelectionCommand"
icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/zoomtofit.gif"
label="Fit to &Selection"
style="push">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DropDownToolBarHandler"
id="org.eclipse.papyrus.uml.diagram.menu.toolbar.command"
name="Command for the toolbar actions">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DropDownToolBarSameSizeHandler"
id="org.eclipse.papyrus.uml.diagram.menu.toolbar.same.size.command"
name="Command for the Make Same Size Toolbar actions">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Routing By Left Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.routing.left"
name="Routing By Left Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.RoutingHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandRoutingParameter"
value="parameter_left">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Routing By Right Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.routing.right"
name="Routing By Righ Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.RoutingHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandRoutingParameter"
value="parameter_right">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Routing By Top Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.routing.top"
name="Routing By Top Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.RoutingHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandRoutingParameter"
value="parameter_top">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Routing By Bottom Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.routing.bottom"
name="Routing By Bottom Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.RoutingHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandRoutingParameter"
value="parameter_bottom">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Distribute Nodes/Links Figure Horizontally"
id="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally"
name="Distribute Nodes/Links horizontally">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DistributionHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandDistributionParameter"
value="parameter_horizontally">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Distribute Nodes/Links Horizontally Between 2 Nodes"
id="org.eclipse.papyrus.uml.diagram.menu.command.distribute.horizontally_between_nodesly"
name="Distribute Nodes/Links Horizontally Between 2 Nodes">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DistributionHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandDistributionParameter"
value="parameter_horizontally_between_nodes">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Distribute Nodes/Links Vertically"
id="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically"
name="Distribute Nodes/Links Vertically">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DistributionHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandDistributionParameter"
value="parameter_vertically">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Distribute Nodes/Links Vertically Between 2 Nodes"
id="org.eclipse.papyrus.uml.diagram.menu.command.distribute.vertically_between_nodes"
name="Distribute Nodes/Links Vertically Between 2 Nodes">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DistributionHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandDistributionParameter"
value="parameter_vertically_between_nodes">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Align on Left Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.alignment.left"
name="Align Left Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.AlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandAlignmentParameter"
value="parameter_left">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Align on Center Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.alignment.center"
name="Align Center Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.AlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandAlignmentParameter"
value="parameter_center">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Align on Right Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.alignment.right"
name="Align Right Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.AlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandAlignmentParameter"
value="parameter_right">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Align on Bottom Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.alignment.bottom"
name="Align Bottom Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.AlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandAlignmentParameter"
value="parameter_bottom">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Align on Middle Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.alignment.middle"
name="Align Middle Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.AlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandAlignmentParameter"
value="parameter_middle">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Align on Top Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.alignment.top"
name="Align Top Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.AlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandAlignmentParameter"
value="parameter_top">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Make Same Size Both Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.both"
name="Make Same Size Both">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SizeHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandSizeParameter"
value="parameter_both">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Make Same Size Height Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.height"
name="Make Same Height">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SizeHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandSizeParameter"
value="parameter_height">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Make Width Size Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.sameSize.width"
name="Make Same Width Both">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SizeHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandSizeParameter"
value="parameter_width">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Grow horizontally"
id="org.eclipse.papyrus.uml.diagram.menu.command.grow.left"
name="Grow Width Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ReduceGrowHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandGrowParameter"
value="parameter_left">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Grow horizontally"
id="org.eclipse.papyrus.uml.diagram.menu.command.grow.right"
name="Grow Width Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ReduceGrowHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandGrowParameter"
value="parameter_right">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Grow on width"
id="org.eclipse.papyrus.uml.diagram.menu.command.grow.top"
name="Grow Width Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ReduceGrowHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandGrowParameter"
value="parameter_top">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Grow on width"
id="org.eclipse.papyrus.uml.diagram.menu.command.grow.bottom"
name="Grow Width Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ReduceGrowHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandGrowParameter"
value="parameter_bottom">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Auto Size Action"
id="org.eclipse.papyrus.uml.diagram.menu.command.autosize"
name="Auto Size">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Show/Hide Compartments Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideCompartmentCommand"
name="Show/Hide Compartments Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Show/Hide Contents Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideContentsCommand"
name="Show/Hide Contents Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Show/Hide Related Link Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideRelatedLinkCommand"
name="Show/Hide Related Link">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Show/Hide Related Link In Selection Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ShowRelatedLinkBetweenSelectedElementsCommand"
name="Show Related Link In Selection">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Show All Related Link Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ShowAllRelatedLinkCommand"
name="Show All Related Link">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Copy the appearance properties"
id="org.eclipse.papyrus.uml.diagram.menu.commands.CopyAppearancePropertiesCommand"
name="Copy Appearance Properties Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Command to manage the displayed label on links"
id="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.manager"
name="Manage Displayed Labels Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Command to show all labels on links"
id="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.show.all"
name="Show all labels on links">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Command to hide all labels on links"
id="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.hide.all"
name="Hide all labels on links">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Reset the label to its initial location"
id="org.eclipse.papyrus.uml.diagram.menu.commands.SnapBack"
name="Snap Back">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Text Align on Left Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.left"
name="Text Align Left Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.TextAlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandTextAlignmentParameter"
value="parameter_left">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Text Align on Center Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.center"
name="Text Align Center Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.TextAlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandTextAlignmentParameter"
value="parameter_center">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Text Align on Right Command"
id="org.eclipse.papyrus.uml.diagram.menu.command.text_alignment.right"
name="Text Align Right Command">
<defaultHandler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.TextAlignementHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandTextAlignmentParameter"
value="parameter_right">
</parameter>
</defaultHandler>
</command>
</extension>
<extension
id="viewCommands"
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to view the Grid"
id="org.eclipse.papyrus.infra.gmfdiag.menu.ViewGridCommand"
name="Grid Command">
<state
class="org.eclipse.jface.commands.ToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to view the Rulers"
id="org.eclipse.papyrus.infra.gmfdiag.menu.ViewRulersCommand"
name="Rulers Command">
<state
class="org.eclipse.jface.commands.ToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to view the page breaks"
id="org.eclipse.papyrus.infra.gmfdiag.menu.ViewPageBreaksCommand"
name="Page breaks Command">
<state
class="org.eclipse.jface.commands.ToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to recalculate the Page Breaks"
id="org.eclipse.papyrus.infra.gmfdiag.menu.RecalculatePageBreaksCommand"
name="Recalculate Page Breaks Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to snap to grid"
id="org.eclipse.papyrus.infra.gmfdiag.menu.SnapToGridCommand"
name="Snap To Grid Command">
<state
class="org.eclipse.papyrus.uml.diagram.menu.providers.InitTrueToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to sort Compartments Items"
id="org.eclipse.papyrus.uml.diagram.menu.commands.SortFilterCompartmentItemsCommand"
name="Sort/Filter Compartments Items...">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom In Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand"
name="Command to Zoom In">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom Out Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomOutCommand"
name="Command to Zoom Out">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom to 100% Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.Zoom100Command"
name="Command to Zoom 100%">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom to Fit Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomFitCommand"
name="Command to Zoom Fit">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom to Width Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomWidthCommand"
name="Command to Zoom Width">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom to Height Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomHeightCommand"
name="Command to Zoom Height">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Call the Zoom Selection Action"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomSelectionCommand"
name="Command to Zoom Selection">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to bring to front the selection"
id="org.eclipse.papyrus.uml.diagram.menu.commands.BringToFrontCommand"
name="Bring to front the selection">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to send to back the selection"
id="org.eclipse.papyrus.uml.diagram.menu.commands.SendToBackCommand"
name="Send to back the selection">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to bring forward the selection"
id="org.eclipse.papyrus.uml.diagram.menu.commands.BringForwardCommand"
name="Bring forward the selection">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to send backward the selection"
id="org.eclipse.papyrus.uml.diagram.menu.commands.SendBackwardCommand"
name="Send backward the selection">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to arrange all elements"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeAllCommand"
name="Arrange All Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to arrange selected elements"
id="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeSelectionCommand"
name="Arrange Selection Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to select all shapes"
id="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand"
name="Select All Shapes Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to select all connectors"
id="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllConnectorsCommand"
name="Select All Connectors Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to modify the font"
id="org.eclipse.papyrus.uml.diagram.menu.commands.FontCommand"
name="Modify the Font Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to change routing to rectilinear style for connectors"
id="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.rectilinear"
name="Rectilinear Style Routing Command">
<state
class="org.eclipse.papyrus.uml.diagram.menu.providers.RectilinearToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to change routing to oblique style for connectors"
id="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.oblique"
name="Oblique Style Routing Command">
<state
class="org.eclipse.papyrus.uml.diagram.menu.providers.ObliqueToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to change routing to tree style for connectors"
id="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.tree"
name="Tree Style Routing Command">
<state
class="org.eclipse.papyrus.uml.diagram.menu.providers.TreeToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to remove all bendpoints"
id="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.removebendpoint"
name="Remove Bendpoints Command">
</command>
</extension>
<extension
id="viewHandlers"
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ViewGridHandler"
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewGridCommand">
<activeWhen>
<with
variable="activePart">
<adapt
type="org.eclipse.gmf.runtime.notation.Diagram">
</adapt>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.RecalculatePageBreaksHandler"
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.RecalculatePageBreaksCommand">
<activeWhen>
<with
variable="activePart">
<adapt
type="org.eclipse.gmf.runtime.notation.Diagram">
</adapt>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SnapToGridHandler"
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.SnapToGridCommand">
<activeWhen>
<with
variable="activePart">
<adapt
type="org.eclipse.gmf.runtime.notation.Diagram">
</adapt>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ViewPageBreaksHandler"
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewPageBreaksCommand">
<activeWhen>
<with
variable="activePart">
<adapt
type="org.eclipse.gmf.runtime.notation.Diagram">
</adapt>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ViewRulersHandler"
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.ViewRulersCommand">
<activeWhen>
<with
variable="activePart">
<adapt
type="org.eclipse.gmf.runtime.notation.Diagram">
</adapt>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SortFilterCompartmentItemsHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SortFilterCompartmentItemsCommand">
<activeWhen>
<and>
<with
variable="sortFilterCompartmentItems">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_in">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomOutCommand">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_out">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.Zoom100Command">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_100">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomFitCommand">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_fit">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomWidthCommand">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_width">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomHeightCommand">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_height">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomSelectionCommand">
<activeWhen>
<and>
<with
variable="zoom">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZoomHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandZoomParameter"
value="parameter_zoom_selection">
</parameter>
</class>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SnapBackHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SnapBack">
<activeWhen>
<and>
<with
variable="selection">
<iterate
ifEmpty="false"
operator="and">
<adapt
type="org.eclipse.gef.EditPart">
<instanceof
value="org.eclipse.gmf.runtime.diagram.ui.editparts.LabelEditPart">
</instanceof>
</adapt>
</iterate>
</with>
</and>
</activeWhen>
</handler>
</extension>
<extension
id="update-cmd-binding"
point="org.eclipse.ui.bindings">
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.left"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+ARROW_LEFT">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.right"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+ARROW_RIGHT">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.top"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+ARROW_UP">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.alignment.bottom"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+ARROW_DOWN">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideContentsCommand"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F4">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideCompartmentCommand"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+F5">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.left"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+SHIFT+ARROW_LEFT">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.right"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+SHIFT+ARROW_RIGHT">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.top"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+SHIFT+ARROW_UP">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.routing.bottom"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+SHIFT+ARROW_DOWN">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomOutCommand"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+-">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+=">
</key>
<key
commandId="org.eclipse.ui.edit.selectAll"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+A">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL++">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.grow.left"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+ARROW_LEFT">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.grow.right"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+ARROW_RIGHT">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.grow.top"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+ARROW_UP">
</key>
<key
commandId="org.eclipse.papyrus.uml.diagram.menu.command.grow.bottom"
contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+ARROW_DOWN">
</key>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SizeHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.command.autosize">
<enabledWhen>
<iterate>
<instanceof
value="org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart">
</instanceof>
<and>
<not>
<instanceof
value="org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart">
</instanceof>
</not>
</and>
</iterate>
</enabledWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SizeHandler">
<parameter
name="org.eclipse.papyrus.uml.diagram.menu.commandSizeParameter"
value="parameter_autosize">
</parameter>
</class>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideContentsHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideContentsCommand">
<activeWhen>
<and>
<with
variable="showHideContents">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideCompartmentHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideCompartmentCommand">
<activeWhen>
<and>
<with
variable="showHideCompartments">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowHideRelatedLinkCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
args="ShowHideRelatedLinkEditPolicy"
property="org.eclipse.papyrus.uml.diagram.menu.tester.hasRequiredEditPolicy"
value="true">
</test>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideRelatedLinkHandler">
<parameter
name="showHideRelatedLinkParameter"
value="OPEN_DIALOG">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowRelatedLinkBetweenSelectedElementsCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
args="ShowHideRelatedLinkEditPolicy"
property="org.eclipse.papyrus.uml.diagram.menu.tester.hasRequiredEditPolicy"
value="true">
</test>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideRelatedLinkHandler">
<parameter
name="showHideRelatedLinkParameter"
value="SHOW_ALL_LINK_BETWEEN_SELECTED_ELEMENT">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ShowAllRelatedLinkCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
args="ShowHideRelatedLinkEditPolicy"
property="org.eclipse.papyrus.uml.diagram.menu.tester.hasRequiredEditPolicy"
value="true">
</test>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideRelatedLinkHandler">
<parameter
name="showHideRelatedLinkParameter"
value="SHOW_ALL_LINK_IN_DIAGRAM">
</parameter>
</class>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.CopyAppearancePropertiesHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.CopyAppearancePropertiesCommand">
<activeWhen>
<and>
<with
variable="copyAppearanceProperties">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeAllCommand">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ArrangeHandler">
<parameter
name="arrange_parameter"
value="arrangeAll">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="arrangeAll">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ArrangeSelectionCommand">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ArrangeHandler">
<parameter
name="arrange_parameter"
value="arrangeSelection">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="arrangeSelection">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.BringToFrontCommand">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZOrderHandler">
<parameter
name="order_parameter"
value="bringToFront">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="bringToFront">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SendToBackCommand">
<activeWhen>
<and>
<with
variable="sendToBack">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZOrderHandler">
<parameter
name="order_parameter"
value="sendToBack">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.BringForwardCommand">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZOrderHandler">
<parameter
name="order_parameter"
value="bringForward">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="bringForward">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SendBackwardCommand">
<activeWhen>
<and>
<with
variable="sendBackward">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ZOrderHandler">
<parameter
name="order_parameter"
value="sendBackward">
</parameter>
</class>
</handler>
<handler
commandId="org.eclipse.ui.edit.selectAll">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SelectHandler">
<parameter
name="select_parameter"
value="selectAll">
</parameter></class>
<activeWhen>
<and>
<with
variable="activeContexts">
<test
property="org.eclipse.papyrus.infra.gmfdiag.common.diagram.context.tester.isGmfDiagramContextActive"
value="true">
</test>
</with>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.gmfdiag.common.diagram.tester.isDiagramEditor"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SelectHandler">
<parameter
name="select_parameter"
value="selectAllShapes">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="selectAllShapes">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllConnectorsCommand">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SelectHandler">
<parameter
name="select_parameter"
value="selectAllConnectors">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="selectAllConnectors">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FontHandler"
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.FontCommand">
<activeWhen>
<and>
<with
variable="font">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.rectilinear">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineStyleHandler">
<parameter
name="line_style_parameter"
value="rectilinear">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineStyle">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.oblique">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineStyleHandler">
<parameter
name="line_style_parameter"
value="oblique">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineStyle">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.tree">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineStyleHandler">
<parameter
name="line_style_parameter"
value="tree">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineStyleTree">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.line.style.removebendpoint">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineStyleHandler">
<parameter
name="line_style_parameter"
value="remove_benpoints">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineStyle">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.hide.all">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideLabelsHandler">
<parameter
name="show_hide_link_label_parameter"
value="hide">
</parameter>
</class>
<activeWhen>
<with
variable="showHideLabels">
<equals
value="enabled">
</equals>
</with>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.show.all">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideLabelsHandler">
<parameter
name="show_hide_link_label_parameter"
value="show">
</parameter>
</class>
<activeWhen>
<with
variable="showHideLabels">
<equals
value="enabled">
</equals>
</with></activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.commands.link.label.manager">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.ShowHideLabelsHandler">
<parameter
name="show_hide_link_label_parameter"
value="manage">
</parameter>
</class>
<activeWhen>
<with
variable="showHideLabels">
<equals
value="enabled">
</equals>
</with></activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.services">
<sourceProvider
provider="org.eclipse.papyrus.uml.diagram.menu.providers.HandlerStateSourceProvider">
<variable
name="showHideContents"
priorityLevel="workbench">
</variable>
<variable
name="showHideCompartments"
priorityLevel="workbench">
</variable>
<variable
name="toggleCanonical"
priorityLevel="workbench">
</variable>
<variable
name="copyAppearanceProperties"
priorityLevel="workbench">
</variable>
<variable
name="grid"
priorityLevel="workbench">
</variable>
<variable
name="rulers"
priorityLevel="workbench">
</variable>
<variable
name="pageBreaks"
priorityLevel="workbench">
</variable>
<variable
name="recalculatePageBreaks"
priorityLevel="workbench">
</variable>
<variable
name="snapToGrid"
priorityLevel="workbench">
</variable>
<variable
name="sortFilterCompartmentItems"
priorityLevel="workbench">
</variable>
<variable
name="bringToFront"
priorityLevel="workbench">
</variable>
<variable
name="sendToBack"
priorityLevel="workbench">
</variable>
<variable
name="bringForward"
priorityLevel="workbench">
</variable>
<variable
name="sendBackward"
priorityLevel="workbench">
</variable>
<variable
name="arrangeAll"
priorityLevel="workbench">
</variable>
<variable
name="arrangeSelection"
priorityLevel="workbench">
</variable>
<variable
name="selectAll"
priorityLevel="workbench">
</variable>
<variable
name="selectAllConnectors"
priorityLevel="workbench">
</variable>
<variable
name="selectAllShapes"
priorityLevel="workbench">
</variable>
<variable
name="font"
priorityLevel="workbench">
</variable>
<variable
name="fillColor"
priorityLevel="workbench">
</variable>
<variable
name="lineColor"
priorityLevel="workbench">
</variable>
<variable
name="lineStyle"
priorityLevel="workbench">
</variable>
<variable
name="lineTree"
priorityLevel="workbench">
</variable>
<variable
name="showHideLabels"
priorityLevel="workbench">
</variable>
</sourceProvider>
</extension>
<extension
id="PapyrusQuickFormatHandler"
name="QuickFormatHandler"
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DiagramQuickFormatHandler"
commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingUpperCaseCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
property="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester.isNameChangeable"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DiagramQuickFormatHandler"
commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingLowerCaseCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
property="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester.isNameChangeable"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DiagramQuickFormatHandler"
commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingSwitchSpace2UnderscoreCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
property="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester.isNameChangeable"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DiagramQuickFormatHandler"
commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingCapitalizeFirstLetterCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
property="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester.isNameChangeable"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DiagramQuickFormatHandler"
commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingRemoveSpaceCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
property="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester.isNameChangeable"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
</extension>
<extension
id="PapyrusFillColorCommand"
name="FillColorCommand"
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in white the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.white.command"
name="Fill White Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in black the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.black.command"
name="Fill Black Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in light gray the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.lightgray.command"
name="Fill Light Gray Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in gray the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.gray.command"
name="Fill Gray Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in dark gray the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.darkgray.command"
name="Fill Dark Gray Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in red the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.red.command"
name="Fill Red Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in green the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.green.command"
name="Fill Green Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in blue the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.blue.command"
name="Fill Blue Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in yellow the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.yellow.command"
name="Fill Yellow Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in magenta the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.magenta.command"
name="Fill Magenta Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in cyan the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.cyan.command"
name="Fill Cyan Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in pink the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.pink.command"
name="Fill Pink Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill in orange the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.orange.command"
name="Fill Orange Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill with the default color the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.defaultcolor.command"
name="Fill Default Color Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to fill with another color the selected shapes"
id="org.eclipse.papyrus.uml.diagram.menu.fill.color.morecolors.command"
name="Fill With Another Color Command">
</command>
</extension>
<extension
id="PapyrusFillColorHandler"
name="FillColorHandler"
point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.white.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="White">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.black.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Black">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.lightgray.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Light Gray">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.gray.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Gray">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.darkgray.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Dark Gray">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.red.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Red">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.green.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Green">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.blue.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Blue">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.yellow.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Yellow">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.magenta.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Magenta">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.cyan.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Cyan">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.pink.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Pink">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.orange.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="Orange">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.defaultcolor.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="default_color">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.fill.color.morecolors.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.FillColorHandler">
<parameter
name="color_parameter"
value="more_colors">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="fillColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
</extension>
<extension
id="PapyrusLineColorCommand"
name="LineColorCommand"
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in white"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.white.command"
name="Set Lines In White Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in black"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.black.command"
name="Set Lines In Black Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in light gray"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.lightgray.command"
name="Set Lines In Light Gray Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the line in gray"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.gray.command"
name="Set Lines In Gray Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in dark gray "
id="org.eclipse.papyrus.uml.diagram.menu.line.color.darkgray.command"
name="Set Lines In Dark Gray Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in red"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.red.command"
name="Set Lines In Red Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in green"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.green.command"
name="Set Lines In Green Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in blue"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.blue.command"
name="Set Lines In Blue Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in yellow"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.yellow.command"
name="Set Lines In Yellow Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in magenta"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.magenta.command"
name="Set Lines In Magenta Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in cyan"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.cyan.command"
name="Set Lines In Cyan Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in pink"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.pink.command"
name="Set Lines In Pink Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in orange"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.orange.command"
name="Set Lines In Orange Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in the default color"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.defaultcolor.command"
name="Set Lines In Default Color Command">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="The command to set the lines in another color"
id="org.eclipse.papyrus.uml.diagram.menu.line.color.morecolors.command"
name="Set lines In Another Color Command">
</command>
</extension>
<extension
id="PapyrusLineColorHandler"
name="LineColorHandler"
point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.white.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="White">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.black.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Black">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.lightgray.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Light Gray">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.gray.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Gray">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.darkgray.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Dark Gray">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.red.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Red">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.green.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Green">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.blue.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Blue">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.yellow.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Yellow">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.magenta.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Magenta">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.cyan.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Cyan">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.pink.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Pink">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.orange.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="Orange">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.defaultcolor.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="default_color">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.papyrus.uml.diagram.menu.line.color.morecolors.command">
<class
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.LineColorHandler">
<parameter
name="color_parameter"
value="more_colors">
</parameter>
</class>
<activeWhen>
<and>
<with
variable="lineColor">
<equals
value="enabled">
</equals>
</with>
</and>
</activeWhen>
</handler>
</extension>
<!-- -->
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.papyrus.uml.diagram.menu.providers.DiagramPropertyTester"
id="org.eclipse.papyrus.uml.diagram.menu.tester"
namespace="org.eclipse.papyrus.uml.diagram.menu.tester"
properties="isDiagram,hasRequiredEditPolicy"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
<propertyTester
class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.DiagramNamePropertyTester"
id="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester"
namespace="org.eclipse.papyrus.uml.diagram.menu.quickformatpropertytester"
properties="isNameChangeable"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.papyrus.infra.gmfdiag.menu.editmenu?after=edit_actions_separator">
<command
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.cleandiagram"
style="push">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.infra.gmfdiag.menu.pastewithmodel"
icon="icons/paste_edit.gif">
</image>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.uml.diagram.menu.handlers.PasteWithModelHandler"
id="org.eclipse.papyrus.infra.gmfdiag.menu.pastewithmodel"
name="Paste With Model">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="This action remove the invalid views from the diagram"
id="org.eclipse.papyrus.infra.gmfdiag.menu.cleandiagram"
name="Clean Diagram">
</command>
</extension>
</plugin>
|