| <?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="people_diagram"/> |
| </extension> |
| |
| <extension point="org.eclipse.emf.ecore.extension_parser" id="resource-factory"> |
| <?gmfgen generated="true"?> |
| <parser |
| type="people_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="people.diagram.part.PeopleDiagramEditorID" |
| name="%editorName" |
| icon="icons/obj16/PeopleDiagramFile.gif" |
| extensions="people_diagram" |
| default="true" |
| class="people.diagram.part.PeopleDiagramEditor" |
| matchingStrategy="people.diagram.part.PeopleMatchingStrategy" |
| contributorClass="people.diagram.part.PeopleDiagramActionBarContributor"> |
| </editor> |
| </extension> |
| |
| <extension point="org.eclipse.ui.contexts" id="ui-context"> |
| <?gmfgen generated="true"?> |
| <context |
| description="%context.description" |
| id="people.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/PeopleDiagramFile.gif" |
| category="org.eclipse.ui.Examples" |
| class="people.diagram.part.PeopleCreationWizard" |
| id="people.diagram.part.PeopleCreationWizardID"> |
| <description>%newWizardDesc</description> |
| </wizard> |
| </extension> |
| |
| <extension point="org.eclipse.ui.popupMenus" id="init-diagram-action"> |
| <?gmfgen generated="true"?> |
| <objectContribution |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.InitDiagram" |
| nameFilter="*.people" |
| objectClass="org.eclipse.core.resources.IFile"> |
| <action |
| label="%initDiagramActionLabel" |
| class="people.diagram.part.PeopleInitDiagramFileAction" |
| menubarPath="additions" |
| enablesFor="1" |
| id="org.eclipse.epsilon.eugenia.examples.svg.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="PeoplePresentation"> |
| <Priority name="Lowest"/> |
| <ViewId id="people.diagram.part.PeopleDiagramEditorID"> |
| <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.printing.render.providers.DiagramWithPrintGlobalActionHandlerProvider" |
| id="PeoplePresentationPrint"> |
| <Priority name="Lowest"/> |
| <ViewId id="people.diagram.part.PeopleDiagramEditorID"> |
| <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart"> |
| <GlobalActionId actionId="print"/> |
| </ElementType> |
| </ViewId> |
| </GlobalActionHandlerProvider> |
| <GlobalActionHandlerProvider |
| class="org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers.DiagramIDEGlobalActionHandlerProvider" |
| id="PeoplePresentationIDE"> |
| <Priority name="Lowest"/> |
| <ViewId id="people.diagram.part.PeopleDiagramEditorID"> |
| <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="PeopleRender"> |
| <Priority name="Lowest"/> |
| <ViewId id="people.diagram.part.PeopleDiagramEditorID"> |
| <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.common.ui.services.markerNavigationProviders" id="markers-navigation"> |
| <?gmfgen generated="true"?> |
| <MarkerNavigationProvider class="people.diagram.providers.PeopleMarkerNavigationProvider"> |
| <MarkerType name="org.eclipse.epsilon.eugenia.examples.svg.diagram.diagnostic"/> |
| <Priority name="Lowest"/> |
| </MarkerNavigationProvider> |
| </extension> |
| |
| <extension id="diagnostic" name="People Plugin problems" point="org.eclipse.core.resources.markers"> |
| <?gmfgen generated="true"?> |
| <super type="org.eclipse.core.resources.problemmarker"/> |
| <super type="org.eclipse.gmf.runtime.common.ui.services.marker"/> |
| <persistent value="true"/> |
| </extension> |
| |
| <extension id="validationDecoratorProvider" name="ValidationDecorations" point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders"> |
| <?gmfgen generated="true"?> |
| <decoratorProvider class="people.diagram.providers.PeopleValidationDecoratorProvider"> |
| <Priority name="Lowest"/> |
| <object class="org.eclipse.gmf.runtime.diagram.ui.editparts.IPrimaryEditPart(org.eclipse.gmf.runtime.diagram.ui)" id="PRIMARY_VIEW"/> |
| <context decoratorTargets="PRIMARY_VIEW"/> |
| </decoratorProvider> |
| </extension> |
| |
| <extension point="org.eclipse.core.runtime.preferences" id="prefs"> |
| <?gmfgen generated="true"?> |
| <initializer class="people.diagram.preferences.DiagramPreferenceInitializer"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.preferencePages" id="prefpages"> |
| <?gmfgen generated="true"?> |
| <page |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.general" |
| name="%prefpage.org.eclipse.epsilon.eugenia.examples.svg.diagram.general" |
| class="people.diagram.preferences.DiagramGeneralPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.appearance" |
| name="%prefpage.org.eclipse.epsilon.eugenia.examples.svg.diagram.appearance" |
| category="org.eclipse.epsilon.eugenia.examples.svg.diagram.general" |
| class="people.diagram.preferences.DiagramAppearancePreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.connections" |
| name="%prefpage.org.eclipse.epsilon.eugenia.examples.svg.diagram.connections" |
| category="org.eclipse.epsilon.eugenia.examples.svg.diagram.general" |
| class="people.diagram.preferences.DiagramConnectionsPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.printing" |
| name="%prefpage.org.eclipse.epsilon.eugenia.examples.svg.diagram.printing" |
| category="org.eclipse.epsilon.eugenia.examples.svg.diagram.general" |
| class="people.diagram.preferences.DiagramPrintingPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.rulersAndGrid" |
| name="%prefpage.org.eclipse.epsilon.eugenia.examples.svg.diagram.rulersAndGrid" |
| category="org.eclipse.epsilon.eugenia.examples.svg.diagram.general" |
| class="people.diagram.preferences.DiagramRulersAndGridPreferencePage"> |
| </page> |
| </extension> |
| |
| <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor" id="prop-contrib"> |
| <?gmfgen generated="true"?> |
| <propertyContributor |
| contributorId="org.eclipse.epsilon.eugenia.examples.svg.diagram" |
| labelProvider="people.diagram.sheet.PeopleSheetLabelProvider"> |
| <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.epsilon.eugenia.examples.svg.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.epsilon.eugenia.examples.svg.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="people.diagram.sheet.PeoplePropertySection"> |
| <input type="org.eclipse.gmf.runtime.notation.View"/> |
| <input type="org.eclipse.gef.EditPart"/> |
| <input type="people.diagram.navigator.PeopleAbstractNavigatorItem"/> |
| </propertySection> |
| </propertySections> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders" id="view-provider"> |
| <?gmfgen generated="true"?> |
| <viewProvider class="people.diagram.providers.PeopleViewProvider"> |
| <Priority name="Lowest"/> |
| <object id="referencing-diagrams" class="org.eclipse.gmf.runtime.notation.Diagram"> |
| <method name="getType()" value="people"/> |
| </object> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Node" containerViews="referencing-diagrams"/> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="People"/> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="2001"/> |
| </viewProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders" id="ep-provider"> |
| <?gmfgen generated="true"?> |
| <editpartProvider class="people.diagram.providers.PeopleEditPartProvider"> |
| <Priority name="Lowest"/> |
| <object class="org.eclipse.gmf.runtime.notation.Diagram" id="generated-diagram"> |
| <method name="getType()" value="People"/> |
| </object> |
| <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-nodes"> |
| <method name="getType()" value="2001"/> |
| </object> |
| <object class="org.eclipse.gmf.runtime.notation.Edge" id="generated-links"> |
| <method name="getType()" value=""/> |
| </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="people.diagram.providers.PeopleModelingAssistantProvider"> |
| <Priority name="Lowest"/> |
| <object class="people.diagram.edit.parts.ModelEditPart" id="Model_1000"/> |
| <object class="people.diagram.edit.parts.PersonEditPart" id="Person_2001"/> |
| <context elements="Model_1000,Person_2001,"/> |
| </modelingAssistantProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders" id="icon-provider"> |
| <?gmfgen generated="true"?> |
| <IconProvider class="people.diagram.providers.PeopleIconProvider"> |
| <Priority name="Low"/> |
| </IconProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders" id="parser-provider"> |
| <?gmfgen generated="true"?> |
| <ParserProvider class="people.diagram.providers.PeopleParserProvider"> |
| <Priority name="Lowest"/> |
| </ParserProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders" id="decorator-provider"> |
| <?gmfgen generated="true"?> |
| <decoratorProvider class="people.diagram.providers.PeopleShortcutsDecoratorProvider"> |
| <Priority name="Lowest"/> |
| <object class="org.eclipse.gmf.runtime.notation.Node(org.eclipse.gmf.runtime.notation)" id="generated-top-nodes"> |
| <method name="getType()" value="2001"/> |
| </object> |
| <context decoratorTargets="generated-top-nodes"/> |
| </decoratorProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes" id="element-types"> |
| <?gmfgen generated="true"?> |
| <metamodel nsURI="www.eclipse.org/epsilon/examples/svg"> |
| <metamodelType |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.Model_1000" |
| name="%metatype.name.Model_1000" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Model" |
| edithelper="people.diagram.edit.helpers.ModelEditHelper"> |
| <param name="semanticHint" value="1000"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="www.eclipse.org/epsilon/examples/svg"> |
| <metamodelType |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.Person_2001" |
| name="%metatype.name.Person_2001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Person" |
| edithelper="people.diagram.edit.helpers.PersonEditHelper"> |
| <param name="semanticHint" value="2001"/> |
| </metamodelType> |
| </metamodel> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings" id="element-types-bindings"> |
| <?gmfgen generated="true"?> |
| <clientContext id="org.eclipse.epsilon.eugenia.examples.svg.diagram.TypeContext"> |
| <enablement> |
| <test |
| property="org.eclipse.gmf.runtime.emf.core.editingDomain" |
| value="org.eclipse.epsilon.eugenia.examples.svg.diagram.EditingDomain"/> |
| </enablement> |
| </clientContext> |
| <binding context="org.eclipse.epsilon.eugenia.examples.svg.diagram.TypeContext"> |
| <elementType ref="org.eclipse.epsilon.eugenia.examples.svg.diagram.Model_1000"/> |
| <elementType ref="org.eclipse.epsilon.eugenia.examples.svg.diagram.Person_2001"/> |
| <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.epsilon.eugenia.examples.svg.diagram.URIEditorInputPropertyTester" |
| type="org.eclipse.emf.common.ui.URIEditorInput" |
| namespace="org.eclipse.epsilon.eugenia.examples.svg.diagram" |
| properties="isURIEditorInput" |
| class="people.diagram.part.PeopleUriEditorInputTester"> |
| </propertyTester> |
| </extension> |
| |
| <extension point="org.eclipse.core.expressions.propertyTesters" id="navigator-proptest.isShortcut"> |
| <?gmfgen generated="true"?> |
| <propertyTester |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.ShortcutPropertyTester" |
| type="org.eclipse.gmf.runtime.notation.View" |
| namespace="org.eclipse.epsilon.eugenia.examples.svg.diagram" |
| properties="isShortcut" |
| class="people.diagram.part.PeopleShortcutPropertyTester"> |
| </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.epsilon.eugenia.examples.svg.diagram.resourceContent"/> |
| <contentExtension pattern="org.eclipse.epsilon.eugenia.examples.svg.diagram.domainResourceContent"/> |
| <contentExtension pattern="org.eclipse.epsilon.eugenia.examples.svg.diagram.navigatorLinkHelper"/> |
| </includes> |
| </viewerContentBinding> |
| <viewerActionBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer"> |
| <includes> |
| <actionExtension pattern="org.eclipse.epsilon.eugenia.examples.svg.diagram.navigatorActionProvider"/> |
| </includes> |
| </viewerActionBinding> |
| </extension> |
| |
| <extension point="org.eclipse.ui.navigator.navigatorContent" id="navigator-content"> |
| <?gmfgen generated="true"?> |
| <navigatorContent |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.resourceContent" |
| name="%navigatorContentName" |
| priority="normal" |
| contentProvider="people.diagram.navigator.PeopleNavigatorContentProvider" |
| labelProvider="people.diagram.navigator.PeopleNavigatorLabelProvider" |
| icon="icons/obj16/PeopleDiagramFile.gif" |
| activeByDefault="true"> |
| <triggerPoints> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.core.resources.IFile"/> |
| <test property="org.eclipse.core.resources.extension" value="people_diagram"/> |
| </and> |
| <instanceof value="people.diagram.navigator.PeopleAbstractNavigatorItem"/> |
| <adapt type="org.eclipse.gmf.runtime.notation.View"> |
| <test property="org.eclipse.epsilon.eugenia.examples.svg.diagram.isShortcut"/> |
| </adapt> |
| </or> |
| </triggerPoints> |
| <possibleChildren> |
| <or> |
| <instanceof value="people.diagram.navigator.PeopleAbstractNavigatorItem"/> |
| <adapt type="org.eclipse.gmf.runtime.notation.View"> |
| <test property="org.eclipse.epsilon.eugenia.examples.svg.diagram.isShortcut"/> |
| </adapt> |
| </or> |
| </possibleChildren> |
| <commonSorter |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.navigatorSorter" |
| class="people.diagram.navigator.PeopleNavigatorSorter"> |
| <parentExpression> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.core.resources.IFile"/> |
| <test property="org.eclipse.core.resources.extension" value="people_diagram"/> |
| </and> |
| <instanceof value="people.diagram.navigator.PeopleAbstractNavigatorItem"/> |
| </or> |
| </parentExpression> |
| </commonSorter> |
| </navigatorContent> |
| <navigatorContent |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.domainResourceContent" |
| name="%domainNavigatorContentName" |
| priority="normal" |
| contentProvider="people.diagram.navigator.PeopleDomainNavigatorContentProvider" |
| labelProvider="people.diagram.navigator.PeopleDomainNavigatorLabelProvider" |
| icon="icons/obj16/PeopleDiagramFile.gif" |
| activeByDefault="true"> |
| <triggerPoints> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.core.resources.IFile"/> |
| <test property="org.eclipse.core.resources.extension" value="people"/> |
| </and> |
| <instanceof value="people.diagram.navigator.PeopleDomainNavigatorItem"/> |
| </or> |
| </triggerPoints> |
| <possibleChildren> |
| <instanceof value="people.diagram.navigator.PeopleDomainNavigatorItem"/> |
| </possibleChildren> |
| </navigatorContent> |
| <actionProvider |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.navigatorActionProvider" |
| class="people.diagram.navigator.PeopleNavigatorActionProvider"> |
| <enablement> |
| <or> |
| <instanceof value="people.diagram.navigator.PeopleAbstractNavigatorItem"/> |
| <adapt type="org.eclipse.gmf.runtime.notation.View"> |
| <test property="org.eclipse.epsilon.eugenia.examples.svg.diagram.isShortcut"/> |
| </adapt> |
| </or> |
| </enablement> |
| </actionProvider> |
| </extension> |
| |
| <extension point="org.eclipse.ui.navigator.linkHelper" id="navigator-linkhelper"> |
| <?gmfgen generated="true"?> |
| <linkHelper |
| id="org.eclipse.epsilon.eugenia.examples.svg.diagram.navigatorLinkHelper" |
| class="people.diagram.navigator.PeopleNavigatorLinkHelper"> |
| <editorInputEnablement> |
| <and> |
| <instanceof value="org.eclipse.emf.common.ui.URIEditorInput"/> |
| <test property="org.eclipse.epsilon.eugenia.examples.svg.diagram.isURIEditorInput"/> |
| </and> |
| </editorInputEnablement> |
| <selectionEnablement> |
| <instanceof value="people.diagram.navigator.PeopleAbstractNavigatorItem"/> |
| </selectionEnablement> |
| </linkHelper> |
| </extension> |
| <extension point="org.eclipse.ui.commands" id="update-cmd"> |
| <?gmfgen generated="true"?> |
| <command |
| categoryId="org.eclipse.ui.category.edit" |
| defaultHandler="people.diagram.part.PeopleDiagramUpdateCommand" |
| description="%update.diagram.description" |
| id="people.diagram.updateDiagram" |
| name="%update.diagram.name"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.bindings" id="update-cmd-binding"> |
| <?gmfgen generated="true"?> |
| <key |
| commandId="people.diagram.updateDiagram" |
| contextId="people.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.epsilon.eugenia.examples.svg.diagram.LoadResourceAction"> |
| <visibleWhen> |
| <and> |
| <with variable="activePartId"><equals value="people.diagram.part.PeopleDiagramEditorID"/></with> |
| <with variable="selection"><iterate ifEmpty="false"> |
| <instanceof value="people.diagram.edit.parts.ModelEditPart"/> |
| </iterate></with> |
| </and> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| |
| <extension point="org.eclipse.ui.commands" id="menu-commands"> |
| <?gmfgen generated="true"?> |
| <category id="people.diagram.part.PeopleDiagramEditorID" name="%cmdcategory.name" description="%cmdcategory.desc"/> |
| <command id="org.eclipse.epsilon.eugenia.examples.svg.diagram.LoadResourceAction" |
| name="Load Resource" |
| categoryId="people.diagram.part.PeopleDiagramEditorID" |
| defaultHandler="people.diagram.part.LoadResourceAction"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.handlers" id="menu-handlers"> |
| <?gmfgen generated="true"?> |
| </extension> |
| |
| <!-- optionally, specify keybindings --> |
| </plugin> |