blob: f36526db3351d34d26e1929b6161890db5795dec [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
Copyright (c) 2006, 2007 Borland Software Corporation
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Dmitry Stadnik (Borland) - initial API and implementation
-->
<plugin>
<extension point="org.eclipse.team.core.fileTypes">
<?gmfgen generated="true"?>
<fileTypes
type="text"
extension="taipan_diagram">
</fileTypes>
</extension>
<extension point="org.eclipse.emf.ecore.extension_parser">
<?gmfgen generated="true"?>
<parser
type="taipan_diagram"
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.taipan.gmf.editor.part.TaiPanDiagramEditorID"
name="%editorName"
icon="../org.eclipse.gmf.examples.taipan.editor/icons/full/obj16/TaiPanModelFile.gif"
extensions="taipan_diagram"
default="true"
class="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanDiagramEditor"
matchingStrategy="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanMatchingStrategy"
contributorClass="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanDiagramActionBarContributor">
</editor>
</extension>
<extension point="org.eclipse.ui.contexts">
<?gmfgen generated="true"?>
<context
description="%context.description"
id="org.eclipse.gmf.examples.taipan.gmf.editor.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="../org.eclipse.gmf.examples.taipan.editor/icons/full/obj16/TaiPanModelFile.gif"
category="org.eclipse.ui.Examples"
class="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanCreationWizard"
id="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanCreationWizardID">
<description>%newWizardDesc</description>
</wizard>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<?gmfgen generated="true"?>
<objectContribution
adaptable="false"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.CreateShortcut"
objectClass="org.eclipse.gmf.examples.taipan.gmf.editor.edit.parts.AquatoryEditPart">
<action
class="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanCreateShortcutAction"
enablesFor="1"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.CreateShortcutAction"
label="%createShortcutActionLabel"
menubarPath="additions">
</action>
</objectContribution>
<objectContribution
adaptable="false"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.LoadResource"
objectClass="org.eclipse.gmf.examples.taipan.gmf.editor.edit.parts.AquatoryEditPart">
<action
class="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanLoadResourceAction"
enablesFor="1"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.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.taipan.gmf.editor.rcp.InitDiagram">
<action
label="%initDiagramActionLabel"
class="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanInitDiagramFileAction"
menubarPath="file/additions"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.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="TaiPanPresentation">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanDiagramEditorID">
<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="TaiPanRender">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanDiagramEditorID">
<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="ValidationContributionItemProvider" name="Validation"
point="org.eclipse.gmf.runtime.common.ui.services.action.contributionItemProviders">
<?gmfgen generated="true"?>
<contributionItemProvider
class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanValidationProvider">
<Priority name="Low"/>
<partContribution id="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanDiagramEditorID">
<partMenuGroup menubarPath="/diagramMenu/" id="validationGroup"/>
<partAction id="validateAction" menubarPath="/diagramMenu/validationGroup"/>
</partContribution>
</contributionItemProvider>
</extension>
<extension id="validationDecoratorProvider" name="ValidationDecorations" point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders">
<?gmfgen generated="true"?>
<decoratorProvider class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanValidationDecoratorProvider">
<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">
<?gmfgen generated="true"?>
<initializer class="org.eclipse.gmf.examples.taipan.gmf.editor.preferences.DiagramPreferenceInitializer"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<?gmfgen generated="true"?>
<page
id="org.eclipse.gmf.examples.taipan.diagram.general"
name="%prefpage.org.eclipse.gmf.examples.taipan.diagram.general"
class="org.eclipse.gmf.examples.taipan.gmf.editor.preferences.DiagramGeneralPreferencePage">
</page>
<page
id="org.eclipse.gmf.examples.taipan.diagram.appearance"
name="%prefpage.org.eclipse.gmf.examples.taipan.diagram.appearance"
category="org.eclipse.gmf.examples.taipan.diagram.general"
class="org.eclipse.gmf.examples.taipan.gmf.editor.preferences.DiagramAppearancePreferencePage">
</page>
<page
id="org.eclipse.gmf.examples.taipan.diagram.connections"
name="%prefpage.org.eclipse.gmf.examples.taipan.diagram.connections"
category="org.eclipse.gmf.examples.taipan.diagram.general"
class="org.eclipse.gmf.examples.taipan.gmf.editor.preferences.DiagramConnectionsPreferencePage">
</page>
<page
id="org.eclipse.gmf.examples.taipan.diagram.printing"
name="%prefpage.org.eclipse.gmf.examples.taipan.diagram.printing"
category="org.eclipse.gmf.examples.taipan.diagram.general"
class="org.eclipse.gmf.examples.taipan.gmf.editor.preferences.DiagramPrintingPreferencePage">
</page>
<page
id="org.eclipse.gmf.examples.taipan.diagram.rulersAndGrid"
name="%prefpage.org.eclipse.gmf.examples.taipan.diagram.rulersAndGrid"
category="org.eclipse.gmf.examples.taipan.diagram.general"
class="org.eclipse.gmf.examples.taipan.gmf.editor.preferences.DiagramRulersAndGridPreferencePage">
</page>
<page
id="org.eclipse.gmf.examples.taipan.diagram.pathmaps"
name="%prefpage.org.eclipse.gmf.examples.taipan.diagram.pathmaps"
category="org.eclipse.gmf.examples.taipan.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.taipan.gmf.editor.rcp"
labelProvider="org.eclipse.gmf.examples.taipan.gmf.editor.properties.TaiPanPropertiesLabelProvider">
<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.taipan.gmf.editor.rcp">
<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.taipan.gmf.editor.rcp">
<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.taipan.gmf.editor.properties.TaiPanPropertySection">
<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.taipan.gmf.editor.providers.TaiPanViewProvider">
<Priority name="Lowest"/>
<context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="TaiPan"/>
<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.taipan.gmf.editor.providers.TaiPanEditPartProvider">
<Priority name="Lowest"/>
</editpartProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders">
<?gmfgen generated="true"?>
<modelingAssistantProvider class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanModelingAssistantProvider">
<Priority name="Lowest"/>
</modelingAssistantProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders">
<?gmfgen generated="true"?>
<IconProvider class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanIconProvider">
<Priority name="Low"/>
</IconProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders">
<?gmfgen generated="true"?>
<ParserProvider class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanParserProvider">
<Priority name="Lowest"/>
</ParserProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders">
<?gmfgen generated="true"?>
<decoratorProvider class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanShortcutsDecoratorProvider">
<Priority name="Lowest"/>
</decoratorProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
<?gmfgen generated="true"?>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Aquatory_1000"
name="%metatype.name.Aquatory_1000"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Aquatory"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.AquatoryEditHelper">
<param name="semanticHint" value="1000"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Port_2001"
name="%metatype.name.Port_2001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Port"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.PortEditHelper">
<param name="semanticHint" value="2001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Ship_2002"
name="%metatype.name.Ship_2002"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Ship"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.ShipEditHelper">
<param name="semanticHint" value="2002"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Warship_2003"
name="%metatype.name.Warship_2003"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Warship"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.WarshipEditHelper">
<param name="semanticHint" value="2003"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.SmallItems_3001"
name="%metatype.name.SmallItems_3001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="SmallItems"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.SmallItemsEditHelper">
<param name="semanticHint" value="3001"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.LargeItem_3002"
name="%metatype.name.LargeItem_3002"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="LargeItem"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.LargeItemEditHelper">
<param name="semanticHint" value="3002"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.EmptyBox_3003"
name="%metatype.name.EmptyBox_3003"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="EmptyBox"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.EmptyBoxEditHelper">
<param name="semanticHint" value="3003"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<specializationType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.ShipDestination_4001"
name="%metatype.name.ShipDestination_4001"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
edithelperadvice="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.ShipDestinationEditHelperAdvice">
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
<param name="semanticHint" value="4001"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Route_4002"
name="%metatype.name.Route_4002"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="Route"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.ReliableRouteEditHelper">
<param name="semanticHint" value="4002"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<specializationType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Route_4003"
name="%metatype.name.Route_4003"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
edithelperadvice="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.UnreliableRouteEditHelperAdvice">
<specializes id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Route_4002"/>
<param name="semanticHint" value="4003"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<specializationType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.ShipRoute_4004"
name="%metatype.name.ShipRoute_4004"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
edithelperadvice="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.ShipRouteEditHelperAdvice">
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
<param name="semanticHint" value="4004"/>
</specializationType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.BesiegePortOrder_4005"
name="%metatype.name.BesiegePortOrder_4005"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="BesiegePortOrder"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.BesiegePortOrderEditHelper">
<param name="semanticHint" value="4005"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<metamodelType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.EscortShipsOrder_4006"
name="%metatype.name.EscortShipsOrder_4006"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
eclass="EscortShipsOrder"
edithelper="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.EscortShipsOrderEditHelper">
<param name="semanticHint" value="4006"/>
</metamodelType>
</metamodel>
<metamodel nsURI="http://www.eclipse.org/examples/gmf/taipan">
<specializationType
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.PortRegister_4007"
name="%metatype.name.PortRegister_4007"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
edithelperadvice="org.eclipse.gmf.examples.taipan.gmf.editor.edit.helpers.PortRegisterEditHelperAdvice">
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
<param name="semanticHint" value="4007"/>
</specializationType>
</metamodel>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
<?gmfgen generated="true"?>
<clientContext id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.TypeContext">
<enablement>
<test
property="org.eclipse.gmf.runtime.emf.core.editingDomain"
value="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.EditingDomain"/>
</enablement>
</clientContext>
<binding context="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.TypeContext">
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Aquatory_1000"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Port_2001"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Ship_2002"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Warship_2003"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.SmallItems_3001"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.LargeItem_3002"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.EmptyBox_3003"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.ShipDestination_4001"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Route_4002"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.Route_4003"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.ShipRoute_4004"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.BesiegePortOrder_4005"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.EscortShipsOrder_4006"/>
<elementType ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.PortRegister_4007"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
</binding>
</extension>
<extension id="TaiPanApplication" point="org.eclipse.core.runtime.applications">
<?gmfgen generated="true"?>
<application>
<run class="org.eclipse.gmf.examples.taipan.gmf.editor.application.TaiPanApplication"/>
</application>
</extension>
<extension point="org.eclipse.ui.perspectives">
<?gmfgen generated="true"?>
<perspective
id="org.eclipse.gmf.examples.taipan.gmf.editor.TaiPanPerspective"
name="%perspectiveName"
class="org.eclipse.gmf.examples.taipan.gmf.editor.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.taipan.gmf.editor.rcp.OpenURICommand"/>
<command
name="%openActionLabel"
description="%openActionDescription"
categoryId="org.eclipse.ui.category.file"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.OpenCommand"/>
</extension>
<extension point="org.eclipse.ui.bindings">
<?gmfgen generated="true"?>
<key
commandId="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.OpenURICommand"
sequence="M1+U"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
commandId="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.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.taipan.gmf.editor.rcp.ActionSet">
<action
label="%newDiagramActionLabel"
class="org.eclipse.gmf.examples.taipan.gmf.editor.application.DiagramEditorActionBarAdvisor$NewDiagramAction"
menubarPath="file/new/additions"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.NewDiagramAction">
</action>
<action
label="%aboutActionLabel"
class="org.eclipse.gmf.examples.taipan.gmf.editor.application.DiagramEditorActionBarAdvisor$AboutAction"
menubarPath="help/additions"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.AboutAction">
</action>
<action
label="%openURIActionLabel"
definitionId="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.OpenURICommand"
class="org.eclipse.gmf.examples.taipan.gmf.editor.application.DiagramEditorActionBarAdvisor$OpenURIAction"
menubarPath="file/additions"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.OpenURIAction">
</action>
<action
label="%openActionLabel"
definitionId="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.OpenCommand"
class="org.eclipse.gmf.examples.taipan.gmf.editor.application.DiagramEditorActionBarAdvisor$OpenAction"
menubarPath="file/additions"
id="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.OpenAction">
</action>
</actionSet>
</extension>
<extension point="org.eclipse.emf.validation.constraintProviders">
<?gmfgen generated="true"?>
<category id="taipan" mandatory="false" name="TaiPan Audits">
<![CDATA[All TaiPan audits]]>
</category>
<constraintProvider cache="true">
<package namespaceUri="http://www.eclipse.org/examples/gmf/taipan"/>
<package namespaceUri="http://www.eclipse.org/gmf/runtime/1.0.1/notation"/>
<constraints categories="taipan">
<constraint id="port_location"
lang="OCL"
name="Port Location"
mode="Batch"
severity="ERROR" statusCode="200">
<![CDATA[location.size() > 0]]>
<description><![CDATA[Empty port location check]]></description>
<message><![CDATA[Port location should not be empty]]></message>
<target class="taipan.Port"/>
</constraint>
<constraint id="ship_name"
lang="Java" class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanValidationProvider$Adapter2"
name="Ship Name"
mode="Batch"
severity="ERROR" statusCode="200">
<description><![CDATA[Empty ship name check]]></description>
<message><![CDATA[Ship name should not be empty]]></message>
<target class="taipan.Ship"/>
</constraint>
<constraint id="litem_weight"
lang="OCL"
name="Large Item Weight"
mode="Batch"
severity="ERROR" statusCode="200">
<![CDATA[weight > 0]]>
<description><![CDATA[Large item weight check]]></description>
<message><![CDATA[Large item weight should be greater than zero.]]></message>
<target class="taipan.LargeItem"/>
</constraint>
<constraint id="ship_type"
lang="OCL"
name="Ship Type"
mode="Batch"
severity="ERROR" statusCode="200">
<![CDATA[element.eClass().name = 'Ship']]>
<description><![CDATA[Ship type check]]></description>
<message><![CDATA[Invalid ship type.]]></message>
<target class="notation.Node"/>
</constraint>
</constraints>
</constraintProvider>
</extension>
<extension point="org.eclipse.emf.validation.constraintBindings">
<?gmfgen generated="true"?>
<clientContext default="false" id="org.eclipse.gmf.examples.taipan.gmf.editor.rcpDefaultCtx">
<selector class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanValidationProvider$DefaultCtx"/>
</clientContext>
<binding context="org.eclipse.gmf.examples.taipan.gmf.editor.rcpDefaultCtx">
<constraint ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.port_location"/>
<constraint ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.ship_name"/>
<constraint ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.litem_weight"/>
</binding>
<clientContext default="false" id="org.eclipse.gmf.examples.taipan.gmf.editor.rcpCtx_2002">
<selector class="org.eclipse.gmf.examples.taipan.gmf.editor.providers.TaiPanValidationProvider$Ctx_2002"/>
</clientContext>
<binding context="org.eclipse.gmf.examples.taipan.gmf.editor.rcpCtx_2002">
<constraint ref="org.eclipse.gmf.examples.taipan.gmf.editor.rcp.ship_type"/>
</binding>
</extension>
<extension point="org.eclipse.ui.commands">
<?gmfgen generated="true"?>
<command
categoryId="org.eclipse.ui.category.edit"
defaultHandler="org.eclipse.gmf.examples.taipan.gmf.editor.part.TaiPanDiagramUpdateCommand"
description="%update.diagram.description"
id="org.eclipse.gmf.examples.taipan.gmf.editor.updateDiagram"
name="%update.diagram.name"/>
</extension>
<extension point="org.eclipse.ui.bindings">
<?gmfgen generated="true"?>
<key
commandId="org.eclipse.gmf.examples.taipan.gmf.editor.updateDiagram"
contextId="org.eclipse.gmf.examples.taipan.gmf.editor.ui.diagramContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F5"/>
</extension>
</plugin>