| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.0"?> |
| <plugin> |
| |
| <extension point="org.eclipse.team.core.fileTypes"> |
| <?gmfgen generated="true"?> |
| <fileTypes |
| type="text" |
| extension="mmd"> |
| </fileTypes> |
| </extension> |
| |
| <extension point="org.eclipse.emf.ecore.extension_parser"> |
| <?gmfgen generated="true"?> |
| <parser |
| type="mmd" |
| class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory"> |
| </parser> |
| </extension> |
| |
| <extension point="org.eclipse.ui.editors"> |
| <?gmfgen generated="true"?> |
| <editor |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapDiagramEditorID" |
| name="%editorName" |
| icon="icons/obj16/MindmapDiagramFile.gif" |
| extensions="mmd" |
| default="true" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapDiagramEditor" |
| matchingStrategy="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapMatchingStrategy" |
| contributorClass="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapDiagramActionBarContributor"> |
| </editor> |
| </extension> |
| |
| <extension point="org.eclipse.ui.contexts"> |
| <?gmfgen generated="true"?> |
| <context |
| description="%context.description" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.ui.diagramContext" |
| name="%context.name" |
| parentId="org.eclipse.gmf.runtime.diagram.ui.diagramContext"> |
| </context> |
| </extension> |
| |
| <extension point="org.eclipse.ui.newWizards"> |
| <?gmfgen generated="true"?> |
| <wizard |
| name="%newWizardName" |
| icon="icons/obj16/MindmapDiagramFile.gif" |
| category="org.eclipse.ui.Examples" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapCreationWizard" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapCreationWizardID"> |
| <description>%newWizardDesc</description> |
| </wizard> |
| </extension> |
| |
| <extension point="org.eclipse.ui.popupMenus"> |
| <?gmfgen generated="true"?> |
| <objectContribution |
| adaptable="false" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.LoadResource" |
| objectClass="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.parts.MapEditPart"> |
| <action |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapLoadResourceAction" |
| enablesFor="1" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.LoadResourceAction" |
| label="%loadResourceActionLabel" |
| menubarPath="additions"> |
| </action> |
| </objectContribution> |
| </extension> |
| |
| <extension point="org.eclipse.ui.actionSets"> |
| <?gmfgen generated="true"?> |
| <actionSet |
| label="%initDiagramActionLabel" |
| visible="true" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.InitDiagram"> |
| <action |
| label="%initDiagramActionLabel" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapInitDiagramFileAction" |
| menubarPath="file/additions" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.InitDiagramAction"> |
| </action> |
| </actionSet> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.action.globalActionHandlerProviders"> |
| <?gmfgen generated="true"?> |
| <GlobalActionHandlerProvider |
| class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandlerProvider" |
| id="MindmapPresentation"> |
| <Priority name="Lowest"/> |
| <ViewId id="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapDiagramEditorID"> |
| <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> |
| </ViewId> |
| </GlobalActionHandlerProvider> |
| <GlobalActionHandlerProvider |
| class="org.eclipse.gmf.runtime.diagram.ui.render.providers.DiagramUIRenderGlobalActionHandlerProvider" |
| id="MindmapRender"> |
| <Priority name="Lowest"/> |
| <ViewId id="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapDiagramEditorID"> |
| <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.action.contributionItemProviders"> |
| <?gmfgen generated="true"?> |
| <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.gmf.examples.mindmap.rcp.diagram.edit.parts.ResourceNameEmailEditPart"/> |
| <popupPredefinedItem id="deleteFromDiagramAction" remove="true"/> |
| <popupPredefinedItem id="deleteFromModelAction" remove="true"/> |
| </popupContribution> |
| <popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider"> |
| <popupStructuredContributionCriteria objectClass="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.parts.TopicSubtopicsEditPart"/> |
| <popupAction path="/editGroup" id="deleteFromModelAction"/> |
| <popupPredefinedItem id="deleteFromDiagramAction" remove="true"/> |
| </popupContribution> |
| <popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider"> |
| <popupStructuredContributionCriteria objectClass="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.parts.RelationshipLabelEditPart"/> |
| <popupPredefinedItem id="deleteFromDiagramAction" remove="true"/> |
| <popupPredefinedItem id="deleteFromModelAction" remove="true"/> |
| </popupContribution> |
| <popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider"> |
| <popupStructuredContributionCriteria objectClass="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.parts.RelationshipLabel2EditPart"/> |
| <popupPredefinedItem id="deleteFromDiagramAction" remove="true"/> |
| <popupPredefinedItem id="deleteFromModelAction" remove="true"/> |
| </popupContribution> |
| <popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider"> |
| <popupStructuredContributionCriteria objectClass="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.parts.RelationshipLabel3EditPart"/> |
| <popupPredefinedItem id="deleteFromDiagramAction" remove="true"/> |
| <popupPredefinedItem id="deleteFromModelAction" remove="true"/> |
| </popupContribution> |
| </contributionItemProvider> |
| </extension> |
| |
| <extension point="org.eclipse.core.runtime.preferences"> |
| <?gmfgen generated="true"?> |
| <initializer class="org.eclipse.gmf.examples.mindmap.rcp.diagram.preferences.DiagramPreferenceInitializer"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.preferencePages"> |
| <?gmfgen generated="true"?> |
| <page |
| id="org.eclipse.gmf.examples.mindmap.diagram.general" |
| name="%preference.page.title.org.eclipse.gmf.examples.mindmap.diagram.general" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.preferences.DiagramGeneralPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.examples.mindmap.diagram.appearance" |
| name="%preference.page.title.org.eclipse.gmf.examples.mindmap.diagram.appearance" |
| category="org.eclipse.gmf.examples.mindmap.diagram.general" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.preferences.DiagramAppearancePreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.examples.mindmap.diagram.connections" |
| name="%preference.page.title.org.eclipse.gmf.examples.mindmap.diagram.connections" |
| category="org.eclipse.gmf.examples.mindmap.diagram.general" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.preferences.DiagramConnectionsPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.examples.mindmap.diagram.printing" |
| name="%preference.page.title.org.eclipse.gmf.examples.mindmap.diagram.printing" |
| category="org.eclipse.gmf.examples.mindmap.diagram.general" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.preferences.DiagramPrintingPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.examples.mindmap.diagram.rulersAndGrid" |
| name="%preference.page.title.org.eclipse.gmf.examples.mindmap.diagram.rulersAndGrid" |
| category="org.eclipse.gmf.examples.mindmap.diagram.general" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.preferences.DiagramRulersAndGridPreferencePage"> |
| </page> |
| <page |
| id="org.eclipse.gmf.examples.mindmap.diagram.pathmaps" |
| name="%preference.page.title.org.eclipse.gmf.examples.mindmap.diagram.pathmaps" |
| category="org.eclipse.gmf.examples.mindmap.diagram.general" |
| class="org.eclipse.gmf.runtime.emf.ui.preferences.PathmapsPreferencePage"> |
| </page> |
| </extension> |
| |
| <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> |
| <?gmfgen generated="true"?> |
| <propertyContributor |
| contributorId="org.eclipse.gmf.examples.mindmap.rcp.diagram" |
| labelProvider="org.eclipse.gmf.examples.mindmap.rcp.diagram.sheet.MindmapSheetLabelProvider"> |
| <propertyCategory category="domain"/> |
| <propertyCategory category="visual"/> |
| <propertyCategory category="extra"/> |
| </propertyContributor> |
| </extension> |
| |
| <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs"> |
| <?gmfgen generated="true"?> |
| <propertyTabs contributorId="org.eclipse.gmf.examples.mindmap.rcp.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"> |
| <?gmfgen generated="true"?> |
| <propertySections contributorId="org.eclipse.gmf.examples.mindmap.rcp.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.examples.mindmap.rcp.diagram.sheet.MindmapPropertySection"> |
| <input type="org.eclipse.gmf.runtime.notation.View"/> |
| <input type="org.eclipse.gef.EditPart"/> |
| </propertySection> |
| </propertySections> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders"> |
| <?gmfgen generated="true"?> |
| <viewProvider class="org.eclipse.gmf.examples.mindmap.rcp.diagram.providers.MindmapViewProvider"> |
| <Priority name="Lowest"/> |
| <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="Mindmap"/> |
| <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"> |
| <?gmfgen generated="true"?> |
| <editpartProvider class="org.eclipse.gmf.examples.mindmap.rcp.diagram.providers.MindmapEditPartProvider"> |
| <Priority name="Lowest"/> |
| </editpartProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders"> |
| <?gmfgen generated="true"?> |
| <modelingAssistantProvider class="org.eclipse.gmf.examples.mindmap.rcp.diagram.providers.MindmapModelingAssistantProvider"> |
| <Priority name="Lowest"/> |
| </modelingAssistantProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders"> |
| <?gmfgen generated="true"?> |
| <IconProvider class="org.eclipse.gmf.examples.mindmap.rcp.diagram.providers.MindmapIconProvider"> |
| <Priority name="Low"/> |
| </IconProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders"> |
| <?gmfgen generated="true"?> |
| <ParserProvider class="org.eclipse.gmf.examples.mindmap.rcp.diagram.providers.MindmapParserProvider"> |
| <Priority name="Lowest"/> |
| </ParserProvider> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes"> |
| <?gmfgen generated="true"?> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <metamodelType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Map_1000" |
| name="%metatype.name.Map_1000" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Map" |
| edithelper="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.MapEditHelper"> |
| <param name="semanticHint" value="1000"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <metamodelType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Topic_2001" |
| name="%metatype.name.Topic_2001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Topic" |
| edithelper="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.TopicEditHelper"> |
| <param name="semanticHint" value="2001"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <metamodelType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Resource_2002" |
| name="%metatype.name.Resource_2002" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Resource" |
| edithelper="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.ResourceEditHelper"> |
| <param name="semanticHint" value="2002"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <metamodelType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Thread_3001" |
| name="%metatype.name.Thread_3001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Thread" |
| edithelper="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.ThreadEditHelper"> |
| <param name="semanticHint" value="3001"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <metamodelType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.ThreadItem_3002" |
| name="%metatype.name.ThreadItem_3002" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="ThreadItem" |
| edithelper="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.ThreadItemEditHelper"> |
| <param name="semanticHint" value="3002"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <specializationType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.TopicSubtopics_4001" |
| name="%metatype.name.TopicSubtopics_4001" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| edithelperadvice="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.TopicSubtopicsEditHelperAdvice"> |
| <specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/> |
| <param name="semanticHint" value="4001"/> |
| </specializationType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <metamodelType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4002" |
| name="%metatype.name.Relationship_4002" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| eclass="Relationship" |
| edithelper="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.RelationshipEditHelper"> |
| <param name="semanticHint" value="4002"/> |
| </metamodelType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <specializationType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4003" |
| name="%metatype.name.Relationship_4003" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| edithelperadvice="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.RelationshipEditHelperAdvice"> |
| <specializes id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4002"/> |
| <param name="semanticHint" value="4003"/> |
| </specializationType> |
| </metamodel> |
| <metamodel nsURI="http://www.example.org/mindmap"> |
| <specializationType |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4004" |
| name="%metatype.name.Relationship_4004" |
| kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" |
| edithelperadvice="org.eclipse.gmf.examples.mindmap.rcp.diagram.edit.helpers.Relationship2EditHelperAdvice"> |
| <specializes id="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4002"/> |
| <param name="semanticHint" value="4004"/> |
| </specializationType> |
| </metamodel> |
| </extension> |
| |
| <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings"> |
| <?gmfgen generated="true"?> |
| <clientContext id="MindmapClientContext"> |
| <enablement> |
| <test |
| property="org.eclipse.gmf.runtime.emf.core.editingDomain" |
| value="org.eclipse.gmf.examples.mindmap.rcp.diagram.EditingDomain"/> |
| </enablement> |
| </clientContext> |
| <binding context="MindmapClientContext"> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Map_1000"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Topic_2001"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Resource_2002"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Thread_3001"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.ThreadItem_3002"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.TopicSubtopics_4001"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4002"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4003"/> |
| <elementType ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.Relationship_4004"/> |
| <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/> |
| </binding> |
| </extension> |
| |
| <extension id="MindmapApplication" point="org.eclipse.core.runtime.applications"> |
| <?gmfgen generated="true"?> |
| <application> |
| <run class="org.eclipse.gmf.examples.mindmap.rcp.diagram.application.MindmapApplication"/> |
| </application> |
| </extension> |
| |
| <extension point="org.eclipse.ui.perspectives"> |
| <?gmfgen generated="true"?> |
| <perspective |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.MindmapPerspective" |
| name="%perspectiveName" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.application.DiagramEditorPerspective"> |
| </perspective> |
| </extension> |
| |
| <extension point="org.eclipse.ui.commands"> |
| <?gmfgen generated="true"?> |
| <command |
| name="%openURIActionLabel" |
| description="%openURIActionDescription" |
| categoryId="org.eclipse.ui.category.file" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenURICommand"/> |
| <command |
| name="%openActionLabel" |
| description="%openActionDescription" |
| categoryId="org.eclipse.ui.category.file" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenCommand"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.bindings"> |
| <?gmfgen generated="true"?> |
| <key |
| commandId="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenURICommand" |
| sequence="M1+U" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
| <key |
| commandId="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenCommand" |
| sequence="M1+O" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.actionSets"> |
| <?gmfgen generated="true"?> |
| <actionSet |
| label="%applicationActionSetLabel" |
| visible="true" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.ActionSet"> |
| <action |
| label="%newDiagramActionLabel" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.application.DiagramEditorActionBarAdvisor$NewDiagramAction" |
| menubarPath="file/new/additions" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.NewDiagramAction"> |
| </action> |
| <action |
| label="%aboutActionLabel" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.application.DiagramEditorActionBarAdvisor$AboutAction" |
| menubarPath="help/additions" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.AboutAction"> |
| </action> |
| <action |
| label="%openURIActionLabel" |
| definitionId="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenURICommand" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.application.DiagramEditorActionBarAdvisor$OpenURIAction" |
| menubarPath="file/additions" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenURIAction"> |
| </action> |
| <action |
| label="%openActionLabel" |
| definitionId="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenCommand" |
| class="org.eclipse.gmf.examples.mindmap.rcp.diagram.application.DiagramEditorActionBarAdvisor$OpenAction" |
| menubarPath="file/additions" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.OpenAction"> |
| </action> |
| </actionSet> |
| </extension> |
| <extension point="org.eclipse.emf.validation.constraintProviders"> |
| <?gmfgen generated="true"?> |
| <category id="org.eclipse.gmf.examples.mindmap.audits" mandatory="false" name="Mindmap Audits"> |
| <![CDATA[Audits to detect problems in mindmap diagrams.]]> |
| </category> |
| <constraintProvider cache="true"> |
| <package namespaceUri="http://www.example.org/mindmap"/> |
| <package namespaceUri="http://www.example.org/mindmap"/> |
| <constraints categories="org.eclipse.gmf.examples.mindmap.audits"> |
| <constraint id="cycle" |
| lang="OCL" |
| name="Cyclic relationship check" |
| mode="Batch" |
| severity="ERROR" statusCode="200"> |
| <![CDATA[self.relations->forAll(r1, r2 | r1.target = r2.source and r1.type = r2.type implies r2.target <> r1.source)]]> |
| <description><![CDATA[This audit detects (simple) cycles between Topic relationships]]></description> |
| <message><![CDATA[A cycle was found in relationships between two Topic elements.]]></message> |
| <target class="mindmap.Map"/> |
| </constraint> |
| <constraint id="topic.name" |
| lang="OCL" |
| name="Topic name audit" |
| mode="Batch" |
| severity="ERROR" statusCode="200"> |
| <![CDATA[name.size() > 0]]> |
| <description><![CDATA[A Topic must have a name provided.]]></description> |
| <message><![CDATA[Topics must have a name]]></message> |
| <target class="mindmap.Topic"/> |
| </constraint> |
| </constraints> |
| </constraintProvider> |
| </extension> |
| |
| <extension point="org.eclipse.emf.validation.constraintBindings"> |
| <?gmfgen generated="true"?> |
| <clientContext default="false" id="org.eclipse.gmf.examples.mindmap.rcp.diagram.DefaultCtx"> |
| <selector class="org.eclipse.gmf.examples.mindmap.rcp.diagram.providers.MindmapValidationProvider$DefaultCtx1"/> |
| </clientContext> |
| <binding context="org.eclipse.gmf.examples.mindmap.rcp.diagram.DefaultCtx"> |
| <constraint ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.cycle"/> |
| <constraint ref="org.eclipse.gmf.examples.mindmap.rcp.diagram.topic.name"/> |
| </binding> |
| </extension> |
| <extension point="org.eclipse.ui.commands"> |
| <?gmfgen generated="true"?> |
| <command |
| categoryId="org.eclipse.ui.category.edit" |
| defaultHandler="org.eclipse.gmf.examples.mindmap.rcp.diagram.part.MindmapDiagramUpdateCommand" |
| description="%update.diagram.description" |
| id="org.eclipse.gmf.examples.mindmap.rcp.diagram.updateDiagram" |
| name="%update.diagram.name"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.bindings"> |
| <?gmfgen generated="true"?> |
| <key |
| commandId="org.eclipse.gmf.examples.mindmap.rcp.diagram.updateDiagram" |
| contextId="org.eclipse.gmf.examples.mindmap.rcp.diagram.ui.diagramContext" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
| sequence="F5"/> |
| </extension> |
| </plugin> |