blob: f8a6551596120a61f617d3a907f74ce04799e148 [file] [log] [blame]
<?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="rcpapp_diagram"/>
</extension>
<extension point="org.eclipse.emf.ecore.extension_parser" id="resource-factory">
<?gmfgen generated="true"?>
<parser
type="rcpapp_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="rcpapp.diagram.part.RcpappDiagramEditorID"
name="%editorName"
icon="icons/obj16/RcpappDiagramFile.gif"
extensions="rcpapp_diagram"
default="true"
class="rcpapp.diagram.part.RcpappDiagramEditor"
matchingStrategy="rcpapp.diagram.part.RcpappMatchingStrategy"
contributorClass="rcpapp.diagram.part.RcpappDiagramActionBarContributor">
</editor>
</extension>
<extension point="org.eclipse.ui.contexts" id="ui-context">
<?gmfgen generated="true"?>
<context
description="%context.description"
id="rcpapp.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/RcpappDiagramFile.gif"
category="org.eclipse.ui.Examples"
class="rcpapp.diagram.part.RcpappCreationWizard"
id="rcpapp.diagram.part.RcpappCreationWizardID">
<description>%newWizardDesc</description>
</wizard>
</extension>
<extension point="org.eclipse.ui.actionSets" id="init-diagram-action">
<?gmfgen generated="true"?>
<actionSet
label="%initDiagramActionLabel"
visible="true"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.InitDiagram">
<action
label="%initDiagramActionLabel"
class="rcpapp.diagram.part.RcpappInitDiagramFileAction"
menubarPath="file/additions"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.InitDiagramAction">
</action>
</actionSet>
</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="RcpappPresentation">
<Priority name="Lowest"/>
<ViewId id="rcpapp.diagram.part.RcpappDiagramEditorID">
<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.render.providers.DiagramUIRenderGlobalActionHandlerProvider"
id="RcpappRender">
<Priority name="Lowest"/>
<ViewId id="rcpapp.diagram.part.RcpappDiagramEditorID">
<ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
<GlobalActionId actionId="cut"/>
<GlobalActionId actionId="copy"/>
<GlobalActionId actionId="paste"/>
</ElementType>
</ViewId>
</GlobalActionHandlerProvider>
</extension>
<extension id="validationDecoratorProvider" name="ValidationDecorations" point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders">
<?gmfgen generated="true"?>
<decoratorProvider class="rcpapp.diagram.providers.RcpappValidationDecoratorProvider">
<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="rcpapp.diagram.preferences.DiagramPreferenceInitializer"/>
</extension>
<extension point="org.eclipse.ui.preferencePages" id="prefpages">
<?gmfgen generated="true"?>
<page
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.general"
name="%prefpage.org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.general"
class="rcpapp.diagram.preferences.DiagramGeneralPreferencePage">
</page>
<page
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.appearance"
name="%prefpage.org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.appearance"
category="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.general"
class="rcpapp.diagram.preferences.DiagramAppearancePreferencePage">
</page>
<page
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.connections"
name="%prefpage.org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.connections"
category="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.general"
class="rcpapp.diagram.preferences.DiagramConnectionsPreferencePage">
</page>
<page
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.printing"
name="%prefpage.org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.printing"
category="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.general"
class="rcpapp.diagram.preferences.DiagramPrintingPreferencePage">
</page>
<page
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.rulersAndGrid"
name="%prefpage.org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.rulersAndGrid"
category="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.general"
class="rcpapp.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.rcpapp.diagram"
labelProvider="rcpapp.diagram.sheet.RcpappSheetLabelProvider">
<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.rcpapp.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.rcpapp.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="rcpapp.diagram.sheet.RcpappPropertySection">
<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" id="view-provider">
<?gmfgen generated="true"?>
<viewProvider class="rcpapp.diagram.providers.RcpappViewProvider">
<Priority name="Lowest"/>
<object id="referencing-diagrams" class="org.eclipse.gmf.runtime.notation.Diagram">
<method name="getType()" value="rcpapp"/>
</object>
<context viewClass="org.eclipse.gmf.runtime.notation.Node" containerViews="referencing-diagrams"/>
<context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="Rcpapp"/>
<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="rcpapp.diagram.providers.RcpappEditPartProvider">
<Priority name="Lowest"/>
<object class="org.eclipse.gmf.runtime.notation.Diagram" id="generated-diagram">
<method name="getType()" value="Rcpapp"/>
</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="rcpapp.diagram.providers.RcpappModelingAssistantProvider">
<Priority name="Lowest"/>
<object class="rcpapp.diagram.edit.parts.ModelEditPart" id="Model_1000"/>
<object class="rcpapp.diagram.edit.parts.ComponentEditPart" id="Component_2001"/>
<context elements="Model_1000,Component_2001,"/>
</modelingAssistantProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders" id="icon-provider">
<?gmfgen generated="true"?>
<IconProvider class="rcpapp.diagram.providers.RcpappIconProvider">
<Priority name="Low"/>
</IconProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders" id="parser-provider">
<?gmfgen generated="true"?>
<ParserProvider class="rcpapp.diagram.providers.RcpappParserProvider">
<Priority name="Lowest"/>
</ParserProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders" id="decorator-provider">
<?gmfgen generated="true"?>
<decoratorProvider class="rcpapp.diagram.providers.RcpappShortcutsDecoratorProvider">
<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="rcpapp">
<metamodelType
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.Model_1000"
name="%metatype.name.Model_1000"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Model"
edithelper="rcpapp.diagram.edit.helpers.ModelEditHelper">
<param name="semanticHint" value="1000"/>
</metamodelType>
</metamodel>
<metamodel nsURI="rcpapp">
<metamodelType
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.Component_2001"
name="%metatype.name.Component_2001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Component"
edithelper="rcpapp.diagram.edit.helpers.ComponentEditHelper">
<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.rcpapp.diagram.TypeContext">
<enablement>
<test
property="org.eclipse.gmf.runtime.emf.core.editingDomain"
value="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.EditingDomain"/>
</enablement>
</clientContext>
<binding context="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.TypeContext">
<elementType ref="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.Model_1000"/>
<elementType ref="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.Component_2001"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
</binding>
</extension>
<extension id="RcpappApplication" point="org.eclipse.core.runtime.applications">
<?gmfgen generated="true"?>
<application>
<run class="rcpapp.diagram.application.RcpappApplication"/>
</application>
</extension>
<extension point="org.eclipse.ui.perspectives" id="rcp-perspective">
<?gmfgen generated="true"?>
<perspective
id="rcpapp.diagram.RcpappPerspective"
name="%perspectiveName"
class="rcpapp.diagram.application.DiagramEditorPerspective">
</perspective>
</extension>
<extension point="org.eclipse.ui.commands" id="rcp-menu-commands">
<?gmfgen generated="true"?>
<command
name="%openURIActionLabel"
description="%openURIActionDescription"
categoryId="org.eclipse.ui.category.file"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenURICommand"/>
<command
name="%openActionLabel"
description="%openActionDescription"
categoryId="org.eclipse.ui.category.file"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenCommand"/>
</extension>
<extension point="org.eclipse.ui.bindings" id="rcp-command-bindings">
<?gmfgen generated="true"?>
<key
commandId="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenURICommand"
sequence="M1+U"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
commandId="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenCommand"
sequence="M1+O"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
</extension>
<extension point="org.eclipse.ui.actionSets" id="rcp-actions">
<?gmfgen generated="true"?>
<actionSet
label="%applicationActionSetLabel"
visible="true"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.ActionSet">
<action
label="%newDiagramActionLabel"
class="rcpapp.diagram.application.DiagramEditorActionBarAdvisor$NewDiagramAction"
menubarPath="file/new/additions"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.NewDiagramAction">
</action>
<action
label="%aboutActionLabel"
class="rcpapp.diagram.application.DiagramEditorActionBarAdvisor$AboutAction"
menubarPath="help/additions"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.AboutAction">
</action>
<action
label="%openURIActionLabel"
definitionId="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenURICommand"
class="rcpapp.diagram.application.DiagramEditorActionBarAdvisor$OpenURIAction"
menubarPath="file/additions"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenURIAction">
</action>
<action
label="%openActionLabel"
definitionId="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenCommand"
class="rcpapp.diagram.application.DiagramEditorActionBarAdvisor$OpenAction"
menubarPath="file/additions"
id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.OpenAction">
</action>
</actionSet>
</extension>
<extension point="org.eclipse.ui.commands" id="update-cmd">
<?gmfgen generated="true"?>
<command
categoryId="org.eclipse.ui.category.edit"
defaultHandler="rcpapp.diagram.part.RcpappDiagramUpdateCommand"
description="%update.diagram.description"
id="rcpapp.diagram.updateDiagram"
name="%update.diagram.name"/>
</extension>
<extension point="org.eclipse.ui.bindings" id="update-cmd-binding">
<?gmfgen generated="true"?>
<key
commandId="rcpapp.diagram.updateDiagram"
contextId="rcpapp.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.rcpapp.diagram.LoadResourceAction">
<visibleWhen>
<and>
<with variable="activePartId"><equals value="rcpapp.diagram.part.RcpappDiagramEditorID"/></with>
<with variable="selection"><iterate ifEmpty="false">
<instanceof value="rcpapp.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="rcpapp.diagram.part.RcpappDiagramEditorID" name="%cmdcategory.name" description="%cmdcategory.desc"/>
<command id="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.LoadResourceAction"
name="Load Resource"
categoryId="rcpapp.diagram.part.RcpappDiagramEditorID"
defaultHandler="rcpapp.diagram.part.LoadResourceAction"/>
</extension>
<extension point="org.eclipse.ui.handlers" id="menu-handlers">
<?gmfgen generated="true"?>
</extension>
<extension
id="RCPApp"
point="org.eclipse.core.runtime.products">
<product
application="org.eclipse.epsilon.eugenia.examples.rcpapp.diagram.RcpappApplication"
name="RCPApp">
<property
name="appName"
value="RCPApp">
</property>
</product>
</extension>
<!-- optionally, specify keybindings -->
</plugin>