| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.0"?> |
| <plugin> |
| |
| <extension point="org.eclipse.team.core.fileTypes" id="repo-ftype"> |
| <?gmfgen generated="true"?> |
| <fileTypes type="text" extension="affixednode_diagram"/> |
| </extension> |
| |
| <extension point="org.eclipse.emf.ecore.extension_parser" id="resource-factory"> |
| <?gmfgen generated="true"?> |
| <parser |
| type="affixednode_diagram" |
| class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory"> |
| </parser> |
| </extension> |
| |
| <extension point="org.eclipse.ui.editors" id="gmf-editor"> |
| <?gmfgen generated="true"?> |
| <editor |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID" |
| name="%editorName" |
| icon="icons/obj16/AffixedNodeDiagramFile.gif" |
| extensions="affixednode_diagram" |
| default="true" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditor" |
| matchingStrategy="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeMatchingStrategy" |
| contributorClass="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramActionBarContributor"> |
| </editor> |
| </extension> |
| |
| <extension point="org.eclipse.ui.contexts" id="ui-context"> |
| <?gmfgen generated="true"?> |
| <context |
| description="%context.description" |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.ui.diagramContext" |
| name="%context.name" |
| parentId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"> |
| </context> |
| </extension> |
| |
| <extension point="org.eclipse.ui.newWizards" id="creation-wizard"> |
| <?gmfgen generated="true"?> |
| <wizard |
| name="%newWizardName" |
| icon="icons/obj16/AffixedNodeDiagramFile.gif" |
| category="org.eclipse.ui.Examples" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeCreationWizard" |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeCreationWizardID"> |
| <description>%newWizardDesc</description> |
| </wizard> |
| </extension> |
| |
| <extension point="org.eclipse.ui.popupMenus" id="init-diagram-action"> |
| <?gmfgen generated="true"?> |
| <objectContribution |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.InitDiagram" |
| nameFilter="*.affixednode" |
| objectClass="org.eclipse.core.resources.IFile"> |
| <action |
| label="%initDiagramActionLabel" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeInitDiagramFileAction" |
| menubarPath="additions" |
| enablesFor="1" |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.InitDiagramAction"> |
| </action> |
| </objectContribution> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.action.globalActionHandlerProviders" id="global-actions"> |
| <?gmfgen generated="true"?> |
| <GlobalActionHandlerProvider |
| class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandlerProvider" |
| id="AffixednodePresentation"> |
| <Priority name="Lowest"/> |
| <ViewId id="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID"> |
| <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart"> |
| <GlobalActionId actionId="delete"/> |
| </ElementType> |
| <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart"> |
| <GlobalActionId actionId="save"/> |
| </ElementType> |
| <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart"> |
| <GlobalActionId actionId="save"> |
| </GlobalActionId> |
| </ElementType> |
| </ViewId> |
| </GlobalActionHandlerProvider> |
| <GlobalActionHandlerProvider |
| class="org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers.DiagramIDEGlobalActionHandlerProvider" |
| id="AffixednodePresentationIDE"> |
| <Priority name="Lowest"/> |
| <ViewId id="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID"> |
| <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="AffixednodeRender"> |
| <Priority name="Lowest"/> |
| <ViewId id="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID"> |
| <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.core.runtime.preferences" id="prefs"> |
| <?gmfgen generated="true"?> |
| <initializer class="org.eclipse.gmf.tooling.examples.affixednode.diagram.preferences.DiagramPreferenceInitializer"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.preferencePages" id="prefpages"> |
| <?gmfgen generated="true"?> |
| <page |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.general" |
| name="%prefpage.org.eclipse.gmf.tooling.examples.affixednode.diagram.general" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.preferences.DiagramGeneralPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.appearance" |
| name="%prefpage.org.eclipse.gmf.tooling.examples.affixednode.diagram.appearance" |
| category="org.eclipse.gmf.tooling.examples.affixednode.diagram.general" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.preferences.DiagramAppearancePreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.connections" |
| name="%prefpage.org.eclipse.gmf.tooling.examples.affixednode.diagram.connections" |
| category="org.eclipse.gmf.tooling.examples.affixednode.diagram.general" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.preferences.DiagramConnectionsPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.printing" |
| name="%prefpage.org.eclipse.gmf.tooling.examples.affixednode.diagram.printing" |
| category="org.eclipse.gmf.tooling.examples.affixednode.diagram.general" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.preferences.DiagramPrintingPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.rulersAndGrid" |
| name="%prefpage.org.eclipse.gmf.tooling.examples.affixednode.diagram.rulersAndGrid" |
| category="org.eclipse.gmf.tooling.examples.affixednode.diagram.general" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.preferences.DiagramRulersAndGridPreferencePage"> |
| </page> |
| </extension> |
| |
| <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor" id="prop-contrib"> |
| <?gmfgen generated="true"?> |
| <propertyContributor |
| contributorId="org.eclipse.gmf.tooling.examples.affixednode.diagram" |
| labelProvider="org.eclipse.gmf.tooling.examples.affixednode.diagram.sheet.AffixednodeSheetLabelProvider"> |
| <propertyCategory category="domain"/> |
| <propertyCategory category="visual"/> |
| <propertyCategory category="extra"/> |
| </propertyContributor> |
| </extension> |
| |
| <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs" id="proptabs"> |
| <?gmfgen generated="true"?> |
| <propertyTabs contributorId="org.eclipse.gmf.tooling.examples.affixednode.diagram"> |
| <propertyTab |
| category="visual" |
| id="property.tab.AppearancePropertySection" |
| label="%tab.appearance"/> |
| <propertyTab |
| category="visual" |
| id="property.tab.DiagramPropertySection" |
| label="%tab.diagram"/> |
| <propertyTab |
| category="domain" |
| id="property.tab.domain" |
| label="%tab.domain"/> |
| </propertyTabs> |
| </extension> |
| |
| <extension point="org.eclipse.ui.views.properties.tabbed.propertySections" id="propsections"> |
| <?gmfgen generated="true"?> |
| <propertySections contributorId="org.eclipse.gmf.tooling.examples.affixednode.diagram"> |
| <propertySection id="property.section.ConnectorAppearancePropertySection" |
| filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.ConnectionEditPartPropertySectionFilter" |
| class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ConnectionAppearancePropertySection" |
| tab="property.tab.AppearancePropertySection"> |
| </propertySection> |
| <propertySection id="property.section.ShapeColorAndFontPropertySection" |
| filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.ShapeEditPartPropertySectionFilter" |
| class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ShapeColorsAndFontsPropertySection" |
| tab="property.tab.AppearancePropertySection"> |
| </propertySection> |
| <propertySection id="property.section.DiagramColorsAndFontsPropertySection" |
| filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.DiagramEditPartPropertySectionFilter" |
| class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.DiagramColorsAndFontsPropertySection" |
| tab="property.tab.AppearancePropertySection"> |
| </propertySection> |
| <propertySection id="property.section.RulerGridPropertySection" |
| filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.DiagramEditPartPropertySectionFilter" |
| class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.grid.RulerGridPropertySection" |
| tab="property.tab.DiagramPropertySection"> |
| </propertySection> |
| <propertySection |
| id="property.section.domain" |
| tab="property.tab.domain" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.sheet.AffixednodePropertySection"> |
| <input type="org.eclipse.gmf.runtime.notation.View"/> |
| <input type="org.eclipse.gef.EditPart"/> |
| <input type="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeAbstractNavigatorItem"/> |
| </propertySection> |
| </propertySections> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders" id="view-provider"> |
| <?gmfgen generated="true"?> |
| <viewProvider class="org.eclipse.gmf.tooling.examples.affixednode.diagram.providers.AffixednodeViewProvider"> |
| <Priority name="Lowest"/> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="Affixednode"/> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="2001,3001,3002"/> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="4001"/> |
| </viewProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders" id="ep-provider"> |
| <?gmfgen generated="true"?> |
| <editpartProvider class="org.eclipse.gmf.tooling.examples.affixednode.diagram.providers.AffixednodeEditPartProvider"> |
| <Priority name="Lowest"/> |
| <object class="org.eclipse.gmf.runtime.notation.Diagram" id="generated-diagram"> |
| <method name="getType()" value="Affixednode"/> |
| </object> |
| <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-nodes"> |
| <method name="getType()" value="2001,3001,3002"/> |
| </object> |
| <object class="org.eclipse.gmf.runtime.notation.Edge" id="generated-links"> |
| <method name="getType()" value="4001"/> |
| </object> |
| <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-labels"> |
| <method name="getType()" value="5001"/> |
| </object> |
| <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-compartments"> |
| <method name="getType()" value=""/> |
| </object> |
| <context views="generated-diagram,generated-nodes,generated-links,generated-labels,generated-compartments"/> |
| </editpartProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders" id="modelassist-provider"> |
| <?gmfgen generated="true"?> |
| <modelingAssistantProvider class="org.eclipse.gmf.tooling.examples.affixednode.diagram.providers.AffixednodeModelingAssistantProvider"> |
| <Priority name="Lowest"/> |
| <object class="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.parts.CanvasEditPart" id="Canvas_1000"/> |
| <object class="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.parts.BundleEditPart" id="Bundle_2001"/> |
| <object class="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.parts.IncomingCommunicatorEditPart" id="IncomingCommunicator_3001"/> |
| <object class="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.parts.OutcomingCommunicatorEditPart" id="OutcomingCommunicator_3002"/> |
| <context elements="Canvas_1000,Bundle_2001,IncomingCommunicator_3001,OutcomingCommunicator_3002"/> |
| </modelingAssistantProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders" id="icon-provider"> |
| <?gmfgen generated="true"?> |
| <IconProvider class="org.eclipse.gmf.tooling.examples.affixednode.diagram.providers.AffixednodeIconProvider"> |
| <Priority name="Low"/> |
| </IconProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders" id="parser-provider"> |
| <?gmfgen generated="true"?> |
| <ParserProvider class="org.eclipse.gmf.tooling.examples.affixednode.diagram.providers.AffixednodeParserProvider"> |
| <Priority name="Lowest"/> |
| </ParserProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes" id="element-types"> |
| <?gmfgen generated="true"?> |
| <metamodel nsURI="http://org.eclipse.gmf.tooling.examples.affixednode"> |
| <metamodelType |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.Canvas_1000" |
| name="%metatype.name.Canvas_1000" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Canvas" |
| edithelper="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.helpers.CanvasEditHelper"> |
| <param name="semanticHint" value="1000"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://org.eclipse.gmf.tooling.examples.affixednode"> |
| <metamodelType |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.Bundle_2001" |
| name="%metatype.name.Bundle_2001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Bundle" |
| edithelper="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.helpers.BundleEditHelper"> |
| <param name="semanticHint" value="2001"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://org.eclipse.gmf.tooling.examples.affixednode"> |
| <metamodelType |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.IncomingCommunicator_3001" |
| name="%metatype.name.IncomingCommunicator_3001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="IncomingCommunicator" |
| edithelper="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.helpers.IncomingCommunicatorEditHelper"> |
| <param name="semanticHint" value="3001"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://org.eclipse.gmf.tooling.examples.affixednode"> |
| <metamodelType |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.OutcomingCommunicator_3002" |
| name="%metatype.name.OutcomingCommunicator_3002" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="OutcomingCommunicator" |
| edithelper="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.helpers.OutcomingCommunicatorEditHelper"> |
| <param name="semanticHint" value="3002"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://org.eclipse.gmf.tooling.examples.affixednode"> |
| <metamodelType |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.Communication_4001" |
| name="%metatype.name.Communication_4001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Communication" |
| edithelper="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.helpers.CommunicationEditHelper"> |
| <param name="semanticHint" value="4001"/> |
| </metamodelType> |
| </metamodel> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings" id="element-types-bindings"> |
| <?gmfgen generated="true"?> |
| <clientContext id="org.eclipse.gmf.tooling.examples.affixednode.diagram.TypeContext"> |
| <enablement> |
| <test |
| property="org.eclipse.gmf.runtime.emf.core.editingDomain" |
| value="org.eclipse.gmf.tooling.examples.affixednode.diagram.EditingDomain"/> |
| </enablement> |
| </clientContext> |
| <binding context="org.eclipse.gmf.tooling.examples.affixednode.diagram.TypeContext"> |
| <elementType ref="org.eclipse.gmf.tooling.examples.affixednode.diagram.Canvas_1000"/> |
| <elementType ref="org.eclipse.gmf.tooling.examples.affixednode.diagram.Bundle_2001"/> |
| <elementType ref="org.eclipse.gmf.tooling.examples.affixednode.diagram.IncomingCommunicator_3001"/> |
| <elementType ref="org.eclipse.gmf.tooling.examples.affixednode.diagram.OutcomingCommunicator_3002"/> |
| <elementType ref="org.eclipse.gmf.tooling.examples.affixednode.diagram.Communication_4001"/> |
| <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/> |
| </binding> |
| </extension> |
| <extension point="org.eclipse.core.expressions.propertyTesters" id="navigator-proptest.isURIEditorInput"> |
| <?gmfgen generated="true"?> |
| <propertyTester |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.URIEditorInputPropertyTester" |
| type="org.eclipse.emf.common.ui.URIEditorInput" |
| namespace="org.eclipse.gmf.tooling.examples.affixednode.diagram" |
| properties="isURIEditorInput" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeUriEditorInputTester"> |
| </propertyTester> |
| </extension> |
| |
| <extension point="org.eclipse.ui.navigator.viewer" id="navigator-viewbinding"> |
| <?gmfgen generated="true"?> |
| <viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer"> |
| <includes> |
| <contentExtension pattern="org.eclipse.gmf.tooling.examples.affixednode.diagram.resourceContent"/> |
| <contentExtension pattern="org.eclipse.gmf.tooling.examples.affixednode.diagram.domainResourceContent"/> |
| <contentExtension pattern="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigatorLinkHelper"/> |
| </includes> |
| </viewerContentBinding> |
| <viewerActionBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer"> |
| <includes> |
| <actionExtension pattern="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigatorActionProvider"/> |
| </includes> |
| </viewerActionBinding> |
| </extension> |
| |
| <extension point="org.eclipse.ui.navigator.navigatorContent" id="navigator-content"> |
| <?gmfgen generated="true"?> |
| <navigatorContent |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.resourceContent" |
| name="%navigatorContentName" |
| priority="normal" |
| contentProvider="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeNavigatorContentProvider" |
| labelProvider="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeNavigatorLabelProvider" |
| icon="icons/obj16/AffixedNodeDiagramFile.gif" |
| activeByDefault="true"> |
| <triggerPoints> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.core.resources.IFile"/> |
| <test property="org.eclipse.core.resources.extension" value="affixednode_diagram"/> |
| </and> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeAbstractNavigatorItem"/> |
| </or> |
| </triggerPoints> |
| <possibleChildren> |
| <or> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeAbstractNavigatorItem"/> |
| </or> |
| </possibleChildren> |
| <commonSorter |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigatorSorter" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeNavigatorSorter"> |
| <parentExpression> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.core.resources.IFile"/> |
| <test property="org.eclipse.core.resources.extension" value="affixednode_diagram"/> |
| </and> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeAbstractNavigatorItem"/> |
| </or> |
| </parentExpression> |
| </commonSorter> |
| </navigatorContent> |
| <navigatorContent |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.domainResourceContent" |
| name="%domainNavigatorContentName" |
| priority="normal" |
| contentProvider="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeDomainNavigatorContentProvider" |
| labelProvider="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeDomainNavigatorLabelProvider" |
| icon="icons/obj16/AffixedNodeDiagramFile.gif" |
| activeByDefault="true"> |
| <triggerPoints> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.core.resources.IFile"/> |
| <test property="org.eclipse.core.resources.extension" value="affixednode"/> |
| </and> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeDomainNavigatorItem"/> |
| </or> |
| </triggerPoints> |
| <possibleChildren> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeDomainNavigatorItem"/> |
| </possibleChildren> |
| </navigatorContent> |
| <actionProvider |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigatorActionProvider" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeNavigatorActionProvider"> |
| <enablement> |
| <or> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeAbstractNavigatorItem"/> |
| </or> |
| </enablement> |
| </actionProvider> |
| </extension> |
| |
| <extension point="org.eclipse.ui.navigator.linkHelper" id="navigator-linkhelper"> |
| <?gmfgen generated="true"?> |
| <linkHelper |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigatorLinkHelper" |
| class="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeNavigatorLinkHelper"> |
| <editorInputEnablement> |
| <and> |
| <instanceof value="org.eclipse.emf.common.ui.URIEditorInput"/> |
| <test property="org.eclipse.gmf.tooling.examples.affixednode.diagram.isURIEditorInput"/> |
| </and> |
| </editorInputEnablement> |
| <selectionEnablement> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.navigator.AffixednodeAbstractNavigatorItem"/> |
| </selectionEnablement> |
| </linkHelper> |
| </extension> |
| <extension point="org.eclipse.ui.commands" id="update-cmd"> |
| <?gmfgen generated="true"?> |
| <command |
| categoryId="org.eclipse.ui.category.edit" |
| defaultHandler="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramUpdateCommand" |
| description="%update.diagram.description" |
| id="org.eclipse.gmf.tooling.examples.affixednode.diagram.updateDiagram" |
| name="%update.diagram.name"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.bindings" id="update-cmd-binding"> |
| <?gmfgen generated="true"?> |
| <key |
| commandId="org.eclipse.gmf.tooling.examples.affixednode.diagram.updateDiagram" |
| contextId="org.eclipse.gmf.tooling.examples.affixednode.diagram.ui.diagramContext" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
| sequence="F5"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.menus" id="context-menus"> |
| <?gmfgen generated="true"?> |
| <!-- menuContribution locationURI="menu:org.eclipse.ui.main.menu?after="> |
| </menuContribution> |
| <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after="> |
| </menuContribution --> |
| <menuContribution locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu"> |
| <command commandId="org.eclipse.gmf.tooling.examples.affixednode.diagram.LoadResourceAction"> |
| <visibleWhen> |
| <and> |
| <with variable="activePartId"><equals value="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID"/></with> |
| <with variable="selection"><iterate ifEmpty="false"> |
| <instanceof value="org.eclipse.gmf.tooling.examples.affixednode.diagram.edit.parts.CanvasEditPart"/> |
| </iterate></with> |
| </and> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| |
| <extension point="org.eclipse.ui.commands" id="menu-commands"> |
| <?gmfgen generated="true"?> |
| <category id="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID" name="%cmdcategory.name" description="%cmdcategory.desc"/> |
| <command id="org.eclipse.gmf.tooling.examples.affixednode.diagram.LoadResourceAction" |
| name="Load Resource" |
| categoryId="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.AffixednodeDiagramEditorID" |
| defaultHandler="org.eclipse.gmf.tooling.examples.affixednode.diagram.part.LoadResourceAction"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.handlers" id="menu-handlers"> |
| <?gmfgen generated="true"?> |
| </extension> |
| |
| <!-- optionally, specify keybindings --> |
| </plugin> |