blob: d4b282353b4cf3acb3768ca0292821a650526f85 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.core.runtime.preferences">
<initializer class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramPreferenceInitializer"/>
</extension>
<extension point="org.eclipse.team.core.fileTypes">
<fileTypes
type="text"
extension="wod">
</fileTypes>
</extension>
<extension point="org.eclipse.emf.ecore.extension_parser">
<parser
type="wod"
class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory">
</parser>
</extension>
<extension point="org.eclipse.ui.editors">
<editor
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramEditorID"
name="Instance Diagram Editor"
icon="icons/obj16/InstancediagramDiagramFile.gif"
extensions="wod"
default="true"
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramEditor"
matchingStrategy="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceMatchingStrategy"
contributorClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramActionBarContributor">
</editor>
</extension>
<extension point="org.eclipse.ui.newWizards">
<wizard
name="Instance Diagram"
icon="icons/obj16/InstancediagramDiagramFile.gif"
category="org.eclipse.tigerstripe.eclipse"
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceCreationWizard"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceCreationWizardID">
<description>
Creates Instance diagram.
</description>
</wizard>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.ui.objectContribution.IFile1"
nameFilter="*.owm"
objectClass="org.eclipse.core.resources.IFile">
<action
label="Initialize .wod diagram file"
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceInitDiagramFileAction"
menubarPath="additions"
enablesFor="1"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceInitDiagramFileActionID">
</action>
</objectContribution>
<objectContribution
adaptable="false"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.objectContribution.ClassInstanceEditPart"
objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.ClassInstanceEditPart">
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.AddRelatedInstancesAction"
id="org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.AddRelatedArtifactsAction"
label="Add Related Instances..." />
</objectContribution>
<objectContribution
adaptable="false"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.objectContribution6"
objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.InstanceMapEditPart">
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.HideArtifactPackagesToggleAction"
id="org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.action9"
label="Hide Artifact Packages"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.hideShow/group1"
style="toggle"/>
<menu
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.hideShow"
label="Hide/Show"
path="additions">
<separator name="group1"/>
</menu>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.LocalGenerationAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.localGeneration"
label="Generate..."
menubarPath="additions"
tooltip="Trigger an M0-Level Generator Plugin in the context of this Diagram">
</action>
</objectContribution>
<objectContribution
adaptable="false"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.objectContribution.AssociationInstanceEditPart"
objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceEditPart">
<menu
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.setOrder"
label="Set Order"
path="additions">
<groupMarker name="group1"/>
<groupMarker name="group2"/>
</menu>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.SetAEndOrderAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action2"
label="aEnd"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.setOrder/group1">
</action>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.SetZEndOrderAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action3"
label="zEnd"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.setOrder/group2">
</action>
</objectContribution>
<objectContribution
adaptable="false"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.AssociationInstanceContribution"
objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceEditPart">
<menu
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationHideShowMenu"
label="Hide/Show Details..."
path="additions">
<separator name="content"/>
</menu>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.AssociationShowNoneAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationShowNone"
label="None"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationHideShowMenu/content"
style="radio"/>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.AssociationShowNameEndsNamesAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationShowNameEndsNames"
label="Assoc. name and Names of ends"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationHideShowMenu/content"
style="radio"/>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.AssociationShowNameOrderAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationShowNameOrder"
label="Assoc. name and Order"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationHideShowMenu/content"
style="radio"/>
<action
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.action.AssociationShowAllAction"
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationShowAll"
label="All"
menubarPath="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.associationHideShowMenu/content"
style="radio"/>
</objectContribution>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.action.contributionItemProviders">
<contributionItemProvider
class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContributionItemProvider"
checkPluginLoaded="false">
<Priority name="Low"/>
<!--<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.TigerstripeEditableEntityEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>-->
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.VariableEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.ClassInstanceEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.ClassInstanceNamePackageArtifactNameEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceNamePackageArtifactNameEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceAEndMultiplicityLowerBoEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceAEndNameEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceZEndMultiplicityLowerBoEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.parts.AssociationInstanceZEndNameEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction" remove="true"/>
<popupPredefinedItem id="deleteFromModelAction" remove="true"/>
<popupPredefinedItem id="editGroup" remove="true"/>
</popupContribution>
</contributionItemProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.action.globalActionHandlerProviders">
<GlobalActionHandlerProvider
class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandlerProvider"
id="InstancePresentation">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramEditorID">
<ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
<GlobalActionId actionId="delete"/>
<GlobalActionId actionId="save"/>
</ElementType>
<ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart">
<GlobalActionId actionId="save"/>
</ElementType>
</ViewId>
</GlobalActionHandlerProvider>
<GlobalActionHandlerProvider
class="org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers.DiagramIDEGlobalActionHandlerProvider"
id="InstancePresentationIDE">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramEditorID">
<ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
<GlobalActionId actionId="bookmark"/>
</ElementType>
</ViewId>
</GlobalActionHandlerProvider>
<GlobalActionHandlerProvider
class="org.eclipse.gmf.runtime.diagram.ui.render.providers.DiagramUIRenderGlobalActionHandlerProvider"
id="InstanceRender">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramEditorID">
<ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
<GlobalActionId actionId="cut"/>
<GlobalActionId actionId="copy"/>
<GlobalActionId actionId="paste"/>
</ElementType>
</ViewId>
</GlobalActionHandlerProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders">
<viewProvider class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstanceViewProvider">
<Priority name="Lowest"/>
<context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="Instance"/>
<context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints=""/>
<context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints=""/>
</viewProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders">
<editpartProvider class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstanceEditPartProvider">
<Priority name="Lowest"/>
</editpartProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders">
<paletteProvider class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstancePaletteProvider">
<Priority name="Lowest"/>
<editor id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceDiagramEditorID"/>
</paletteProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders">
<modelingAssistantProvider class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstanceModelingAssistantProvider">
<Priority name="Lowest"/>
</modelingAssistantProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.properties.propertiesProviders">
<PropertiesProvider
verifyPluginLoaded="false"
class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstancePropertyProvider">
<Priority name="Lowest"/>
</PropertiesProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders">
<IconProvider class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstanceIconProvider">
<Priority name="Low"/>
</IconProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders">
<ParserProvider class="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.providers.InstanceParserProvider">
<Priority name="Lowest"/>
</ParserProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
<metamodel nsURI="org.eclipse.tigerstripe.workbench.ui.instancediagram">
<metamodelType
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.InstanceMap_79"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="InstanceMap"
edithelper="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.helpers.InstanceMapEditHelper">
<param name="semanticHint" value="79"/>
</metamodelType>
</metamodel>
<metamodel nsURI="org.eclipse.tigerstripe.workbench.ui.instancediagram">
<metamodelType
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.Variable_2001"
name="Variable"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Variable"
edithelper="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.helpers.VariableEditHelper">
<param name="semanticHint" value="2001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="org.eclipse.tigerstripe.workbench.ui.instancediagram">
<metamodelType
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.ClassInstance_1001"
name="ClassInstance"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="ClassInstance"
edithelper="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.helpers.ClassInstanceEditHelper">
<param name="semanticHint" value="1001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="org.eclipse.tigerstripe.workbench.ui.instancediagram">
<metamodelType
id="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.AssociationInstance_3001"
name="AssociationInstance"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="AssociationInstance"
edithelper="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.edit.helpers.AssociationInstanceEditHelper">
<param name="semanticHint" value="3001"/>
</metamodelType>
</metamodel>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
<clientContext id="InstanceClientContext">
<enablement>
<test
property="org.eclipse.gmf.runtime.emf.core.editingDomain"
value="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.EditingDomain"/>
</enablement>
</clientContext>
<binding context="InstanceClientContext">
<elementType ref="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.InstanceMap_79"/>
<elementType ref="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.Variable_2001"/>
<elementType ref="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.ClassInstance_1001"/>
<elementType ref="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.AssociationInstance_3001"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
</binding>
</extension>
<extension point="org.eclipse.ui.navigator.navigatorContent">
<commonWizard
type="new"
menuGroupId="tigerstripe.commons"
wizardId="org.eclipse.tigerstripe.workbench.ui.instancediagram.diagram.part.InstanceCreationWizardID">
<enablement>
<adapt type="org.eclipse.core.resources.IResource">
<test
property="org.eclipse.core.resources.projectNature"
value="org.eclipse.tigerstripe.workbench.base.tigerstripeProject" />
</adapt>
</enablement>
</commonWizard>
</extension>
</plugin>