blob: a03396a6a5550ba28b22fd1c3ee3141e7c087303 [file] [log] [blame]
<?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="dnc">
</fileTypes>
</extension>
<extension point="org.eclipse.emf.ecore.extension_parser">
<?gmfgen generated="true"?>
<parser
type="dnc"
class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory">
</parser>
</extension>
<extension point="org.eclipse.ui.editors">
<?gmfgen generated="true"?>
<editor
id="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramEditorID"
name="%editorName"
icon="icons/obj16/OocoreDiagramFile.gif"
extensions="dnc"
default="true"
class="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramEditor"
matchingStrategy="org.eclipse.amalgam.examples.dnc.diagram.part.DncMatchingStrategy"
contributorClass="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramActionBarContributor">
</editor>
</extension>
<extension point="org.eclipse.ui.contexts">
<?gmfgen generated="true"?>
<context
description="%context.description"
id="org.eclipse.amalgam.examples.dnc.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/OocoreDiagramFile.gif"
category="org.eclipse.amalgam.examples.requirements.wizards.category"
class="org.eclipse.amalgam.examples.dnc.diagram.part.DncCreationWizard"
id="org.eclipse.amalgam.examples.dnc.diagram.part.DncCreationWizardID">
<description>%newWizardDesc</description>
</wizard>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<?gmfgen generated="true"?>
<objectContribution
adaptable="false"
id="org.eclipse.amalgam.examples.dnc.diagram.LoadResource"
objectClass="org.eclipse.amalgam.examples.dnc.diagram.edit.parts.PackageEditPart">
<action
class="org.eclipse.amalgam.examples.dnc.diagram.part.DncLoadResourceAction"
enablesFor="1"
id="org.eclipse.amalgam.examples.dnc.diagram.LoadResourceAction"
label="%loadResourceActionLabel"
menubarPath="additions">
</action>
</objectContribution>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<?gmfgen generated="true"?>
<objectContribution
id="org.eclipse.amalgam.examples.dnc.diagram.InitDiagram"
nameFilter="*.dnc"
objectClass="org.eclipse.core.resources.IFile">
<action
label="%initDiagramActionLabel"
class="org.eclipse.amalgam.examples.dnc.diagram.part.DncInitDiagramFileAction"
menubarPath="additions"
enablesFor="1"
id="org.eclipse.amalgam.examples.dnc.diagram.InitDiagramAction">
</action>
</objectContribution>
</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="dncPresentation">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramEditorID">
<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.providers.ide.providers.DiagramIDEGlobalActionHandlerProvider"
id="dncPresentationIDE">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramEditorID">
<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="dncRender">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramEditorID">
<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">
<?gmfgen generated="true"?>
<initializer class="org.eclipse.amalgam.examples.dnc.diagram.preferences.DiagramPreferenceInitializer"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<?gmfgen generated="false"?>
<page
id="org.eclipse.amalgam.examples.dnc.diagram.general"
name="%preference.page.title.org.eclipse.amalgam.examples.dnc.diagram.general"
category="org.eclipse.amalgam.examples.requirements.preferences.category"
class="org.eclipse.amalgam.examples.dnc.diagram.preferences.DiagramGeneralPreferencePage">
</page>
<page
id="org.eclipse.amalgam.examples.dnc.diagram.appearance"
name="%preference.page.title.org.eclipse.amalgam.examples.dnc.diagram.appearance"
category="org.eclipse.amalgam.examples.dnc.diagram.general"
class="org.eclipse.amalgam.examples.dnc.diagram.preferences.DiagramAppearancePreferencePage">
</page>
<page
id="org.eclipse.amalgam.examples.dnc.diagram.connections"
name="%preference.page.title.org.eclipse.amalgam.examples.dnc.diagram.connections"
category="org.eclipse.amalgam.examples.dnc.diagram.general"
class="org.eclipse.amalgam.examples.dnc.diagram.preferences.DiagramConnectionsPreferencePage">
</page>
<page
id="org.eclipse.amalgam.examples.dnc.diagram.printing"
name="%preference.page.title.org.eclipse.amalgam.examples.dnc.diagram.printing"
category="org.eclipse.amalgam.examples.dnc.diagram.general"
class="org.eclipse.amalgam.examples.dnc.diagram.preferences.DiagramPrintingPreferencePage">
</page>
<page
id="org.eclipse.amalgam.examples.dnc.diagram.rulersAndGrid"
name="%preference.page.title.org.eclipse.amalgam.examples.dnc.diagram.rulersAndGrid"
category="org.eclipse.amalgam.examples.dnc.diagram.general"
class="org.eclipse.amalgam.examples.dnc.diagram.preferences.DiagramRulersAndGridPreferencePage">
</page>
<page
id="org.eclipse.amalgam.examples.dnc.diagram.pathmaps"
name="%preference.page.title.org.eclipse.amalgam.examples.dnc.diagram.pathmaps"
category="org.eclipse.amalgam.examples.dnc.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.amalgam.examples.dnc.diagram"
labelProvider="org.eclipse.amalgam.examples.dnc.diagram.sheet.DncSheetLabelProvider">
<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.amalgam.examples.dnc.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.amalgam.examples.dnc.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.amalgam.examples.dnc.diagram.sheet.DncPropertySection">
<input type="org.eclipse.gmf.runtime.notation.View"/>
<input type="org.eclipse.gef.EditPart"/>
<input type="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncAbstractNavigatorItem"/>
</propertySection>
</propertySections>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders">
<?gmfgen generated="true"?>
<viewProvider class="org.eclipse.amalgam.examples.dnc.diagram.providers.DncViewProvider">
<Priority name="Lowest"/>
<context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="dnc"/>
<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.amalgam.examples.dnc.diagram.providers.DncEditPartProvider">
<Priority name="Lowest"/>
</editpartProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders">
<?gmfgen generated="true"?>
<modelingAssistantProvider class="org.eclipse.amalgam.examples.dnc.diagram.providers.DncModelingAssistantProvider">
<Priority name="Lowest"/>
</modelingAssistantProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders">
<?gmfgen generated="true"?>
<IconProvider class="org.eclipse.amalgam.examples.dnc.diagram.providers.DncIconProvider">
<Priority name="Low"/>
</IconProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders">
<?gmfgen generated="true"?>
<ParserProvider class="org.eclipse.amalgam.examples.dnc.diagram.providers.DncParserProvider">
<Priority name="Lowest"/>
</ParserProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
<?gmfgen generated="true"?>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Package_1000"
name="%metatype.name.Package_1000"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Package"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.PackageEditHelper">
<param name="semanticHint" value="1000"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.MomentInterval_2001"
name="%metatype.name.MomentInterval_2001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="MomentInterval"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.MomentIntervalEditHelper">
<param name="semanticHint" value="2001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.MIDetail_2002"
name="%metatype.name.MIDetail_2002"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="MIDetail"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.MIDetailEditHelper">
<param name="semanticHint" value="2002"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Role_2003"
name="%metatype.name.Role_2003"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Role"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.RoleEditHelper">
<param name="semanticHint" value="2003"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Party_2004"
name="%metatype.name.Party_2004"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Party"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.PartyEditHelper">
<param name="semanticHint" value="2004"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Place_2005"
name="%metatype.name.Place_2005"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Place"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.PlaceEditHelper">
<param name="semanticHint" value="2005"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Thing_2006"
name="%metatype.name.Thing_2006"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Thing"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.ThingEditHelper">
<param name="semanticHint" value="2006"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Description_2007"
name="%metatype.name.Description_2007"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Description"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.DescriptionEditHelper">
<param name="semanticHint" value="2007"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.PluginPoint_2008"
name="%metatype.name.PluginPoint_2008"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="PluginPoint"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.PluginPointEditHelper">
<param name="semanticHint" value="2008"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<specializationType
id="org.eclipse.amalgam.examples.dnc.diagram.Package_2009"
name="%metatype.name.Package_2009"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<specializes id="org.eclipse.amalgam.examples.dnc.diagram.Package_1000"/>
<param name="semanticHint" value="2009"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Annotation_2010"
name="%metatype.name.Annotation_2010"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Annotation"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.AnnotationEditHelper">
<param name="semanticHint" value="2010"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Attribute_3001"
name="%metatype.name.Attribute_3001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Attribute"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.AttributeEditHelper">
<param name="semanticHint" value="3001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Operation_3002"
name="%metatype.name.Operation_3002"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Operation"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.OperationEditHelper">
<param name="semanticHint" value="3002"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<specializationType
id="org.eclipse.amalgam.examples.dnc.diagram.Package_3003"
name="%metatype.name.Package_3003"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<specializes id="org.eclipse.amalgam.examples.dnc.diagram.Package_1000"/>
<param name="semanticHint" value="3003"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<metamodelType
id="org.eclipse.amalgam.examples.dnc.diagram.Association_4001"
name="%metatype.name.Association_4001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Association"
edithelper="org.eclipse.amalgam.examples.dnc.diagram.edit.helpers.AssociationEditHelper">
<param name="semanticHint" value="4001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<specializationType
id="org.eclipse.amalgam.examples.dnc.diagram.ClassSuperclasses_4002"
name="%metatype.name.ClassSuperclasses_4002"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
<param name="semanticHint" value="4002"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/dnc">
<specializationType
id="org.eclipse.amalgam.examples.dnc.diagram.Association_4003"
name="%metatype.name.Association_4003"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<specializes id="org.eclipse.amalgam.examples.dnc.diagram.Association_4001"/>
<param name="semanticHint" value="4003"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/2008/oocore">
<specializationType
id="org.eclipse.amalgam.examples.dnc.diagram.AnnotatedElementAnnotations_4004"
name="%metatype.name.AnnotatedElementAnnotations_4004"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
<param name="semanticHint" value="4004"/>
</specializationType>
</metamodel>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
<?gmfgen generated="true"?>
<clientContext id="org.eclipse.amalgam.examples.dnc.diagram.TypeContext">
<enablement>
<test
property="org.eclipse.gmf.runtime.emf.core.editingDomain"
value="org.eclipse.amalgam.examples.dnc.diagram.EditingDomain"/>
</enablement>
</clientContext>
<binding context="org.eclipse.amalgam.examples.dnc.diagram.TypeContext">
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Package_1000"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.MomentInterval_2001"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.MIDetail_2002"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Role_2003"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Party_2004"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Place_2005"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Thing_2006"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Description_2007"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.PluginPoint_2008"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Package_2009"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Annotation_2010"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Attribute_3001"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Operation_3002"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Package_3003"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Association_4001"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.ClassSuperclasses_4002"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.Association_4003"/>
<elementType ref="org.eclipse.amalgam.examples.dnc.diagram.AnnotatedElementAnnotations_4004"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
</binding>
</extension>
<extension point="org.eclipse.core.expressions.propertyTesters">
<?gmfgen generated="true"?>
<propertyTester
id="org.eclipse.amalgam.examples.dnc.diagram.URIEditorInputPropertyTester"
type="org.eclipse.emf.common.ui.URIEditorInput"
namespace="org.eclipse.amalgam.examples.dnc.diagram"
properties="isURIEditorInput"
class="org.eclipse.amalgam.examples.dnc.diagram.part.DncUriEditorInputTester">
</propertyTester>
</extension>
<extension point="org.eclipse.core.expressions.propertyTesters">
<?gmfgen generated="true"?>
<propertyTester
id="org.eclipse.amalgam.examples.dnc.diagram.DomainModelElementPropertyTester"
type="org.eclipse.emf.ecore.EObject"
namespace="org.eclipse.amalgam.examples.dnc.diagram"
properties="isDomainModelElement"
class="org.eclipse.amalgam.examples.dnc.diagram.part.DncDomainModelElementTester">
</propertyTester>
</extension>
<extension point="org.eclipse.ui.navigator.viewer">
<?gmfgen generated="true"?>
<viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
<includes>
<contentExtension pattern="org.eclipse.amalgam.examples.dnc.diagram.resourceContent"/>
<contentExtension pattern="org.eclipse.amalgam.examples.dnc.diagram.domainResourceContent"/>
<contentExtension pattern="org.eclipse.amalgam.examples.dnc.diagram.navigatorLinkHelper"/>
</includes>
</viewerContentBinding>
<viewerActionBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
<includes>
<actionExtension pattern="org.eclipse.amalgam.examples.dnc.diagram.navigatorActionProvider"/>
</includes>
</viewerActionBinding>
</extension>
<extension point="org.eclipse.ui.navigator.navigatorContent">
<?gmfgen generated="true"?>
<navigatorContent
id="org.eclipse.amalgam.examples.dnc.diagram.resourceContent"
name="%navigatorContentName"
priority="normal"
contentProvider="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncNavigatorContentProvider"
labelProvider="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncNavigatorLabelProvider"
icon="icons/obj16/OocoreDiagramFile.gif"
activeByDefault="true">
<triggerPoints>
<or>
<and>
<instanceof value="org.eclipse.core.resources.IFile"/>
<test property="org.eclipse.core.resources.extension" value="dnc"/>
</and>
<instanceof value="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncAbstractNavigatorItem"/>
</or>
</triggerPoints>
<possibleChildren>
<or>
<instanceof value="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncAbstractNavigatorItem"/>
</or>
</possibleChildren>
<commonSorter
id="org.eclipse.amalgam.examples.dnc.diagram.navigatorSorter"
class="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncNavigatorSorter">
<parentExpression>
<or>
<and>
<instanceof value="org.eclipse.core.resources.IFile"/>
<test property="org.eclipse.core.resources.extension" value="dnc"/>
</and>
<instanceof value="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncAbstractNavigatorItem"/>
</or>
</parentExpression>
</commonSorter>
</navigatorContent>
<navigatorContent
id="org.eclipse.amalgam.examples.dnc.diagram.domainResourceContent"
name="%domainNavigatorContentName"
priority="normal"
contentProvider="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncDomainNavigatorContentProvider"
labelProvider="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncDomainNavigatorLabelProvider"
icon="icons/obj16/OocoreDiagramFile.gif"
activeByDefault="true">
<triggerPoints>
<or>
<and>
<instanceof value="org.eclipse.core.resources.IFile"/>
<test property="org.eclipse.core.resources.extension" value="dnc"/>
</and>
<and>
<instanceof value="org.eclipse.emf.ecore.EObject"/>
<test property="org.eclipse.amalgam.examples.dnc.diagram.isDomainModelElement"/>
</and>
</or>
</triggerPoints>
<possibleChildren>
<and>
<instanceof value="org.eclipse.emf.ecore.EObject"/>
<test property="org.eclipse.amalgam.examples.dnc.diagram.isDomainModelElement"/>
</and>
</possibleChildren>
</navigatorContent>
<actionProvider
id="org.eclipse.amalgam.examples.dnc.diagram.navigatorActionProvider"
class="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncNavigatorActionProvider">
<enablement>
<or>
<instanceof value="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncAbstractNavigatorItem"/>
</or>
</enablement>
</actionProvider>
</extension>
<extension point="org.eclipse.ui.navigator.linkHelper">
<?gmfgen generated="true"?>
<linkHelper
id="org.eclipse.amalgam.examples.dnc.diagram.navigatorLinkHelper"
class="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncNavigatorLinkHelper">
<editorInputEnablement>
<and>
<instanceof value="org.eclipse.emf.common.ui.URIEditorInput"/>
<test property="org.eclipse.amalgam.examples.dnc.diagram.isURIEditorInput"/>
</and>
</editorInputEnablement>
<selectionEnablement>
<instanceof value="org.eclipse.amalgam.examples.dnc.diagram.navigator.DncAbstractNavigatorItem"/>
</selectionEnablement>
</linkHelper>
</extension>
<extension point="org.eclipse.ui.commands">
<?gmfgen generated="true"?>
<command
categoryId="org.eclipse.ui.category.edit"
defaultHandler="org.eclipse.amalgam.examples.dnc.diagram.part.DncDiagramUpdateCommand"
description="%update.diagram.description"
id="org.eclipse.amalgam.examples.dnc.diagram.updateDiagram"
name="%update.diagram.name"/>
</extension>
<extension point="org.eclipse.ui.bindings">
<?gmfgen generated="true"?>
<key
commandId="org.eclipse.amalgam.examples.dnc.diagram.updateDiagram"
contextId="org.eclipse.amalgam.examples.dnc.diagram.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F5"/>
</extension>
</plugin>