commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r945186 - /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/plugin.xml
Date Mon, 17 May 2010 14:44:11 GMT
Author: guixl
Date: Mon May 17 14:44:11 2010
New Revision: 945186

URL: http://svn.apache.org/viewvc?rev=945186&view=rev
Log:
Initial source code import by Gui Xun Long

Modified:
    commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/plugin.xml

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/plugin.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/plugin.xml?rev=945186&r1=945185&r2=945186&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/plugin.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/plugin.xml Mon May 17 14:44:11 2010
@@ -0,0 +1,1042 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<plugin>
+
+   <extension point="org.eclipse.team.core.fileTypes">
+      <?gmfgen generated="true"?>
+      <fileTypes
+         type="text"
+         extension="scxml_diagram">
+      </fileTypes>
+   </extension>
+
+   <extension point="org.eclipse.emf.ecore.extension_parser">
+      <?gmfgen generated="true"?>
+      <parser
+         type="scxml_diagram"
+         class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory">
+      </parser>
+   </extension>
+
+   <extension point="org.eclipse.ui.editors">
+      <?gmfgen generated="true"?>
+      <editor
+         id="org.apache.commons.scxml.diagram.part.ScxmlDiagramEditorID"
+         name="%editorName"
+         icon="icons/obj16/ScxmlDiagramFile.gif"
+         extensions="scxml_diagram"
+         default="true"
+         class="org.apache.commons.scxml.diagram.part.ScxmlDiagramEditor"
+         matchingStrategy="org.apache.commons.scxml.diagram.part.ScxmlMatchingStrategy"
+         contributorClass="org.apache.commons.scxml.diagram.part.ScxmlDiagramActionBarContributor">
+      </editor>
+   </extension>
+   
+   <extension point="org.eclipse.ui.contexts">
+      <?gmfgen generated="true"?>
+      <context
+         description="%context.description"
+         id="org.apache.commons.scxml.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/ScxmlDiagramFile.gif"
+  	     category="org.eclipse.ui.Examples"
+  	     class="org.apache.commons.scxml.diagram.part.ScxmlCreationWizard"
+  	     id="org.apache.commons.scxml.diagram.part.ScxmlCreationWizardID">
+  	  	 <description>%newWizardDesc</description>  
+      </wizard>
+   </extension>
+
+   <extension point="org.eclipse.ui.popupMenus">
+      <?gmfgen generated="true"?>
+      <objectContribution
+            adaptable="false"
+            id="org.apache.commons.scxml.diagram.LoadResource"
+            objectClass="org.apache.commons.scxml.diagram.edit.parts.ServiceTemplateEditPart">
+         <action
+               class="org.apache.commons.scxml.diagram.part.ScxmlLoadResourceAction"
+               enablesFor="1"
+               id="org.apache.commons.scxml.diagram.LoadResourceAction"
+               label="%loadResourceActionLabel"
+               menubarPath="additions">
+         </action>
+      </objectContribution>           
+   </extension>
+
+   <extension point="org.eclipse.ui.popupMenus">
+      <?gmfgen generated="true"?>
+      <objectContribution
+            id="org.apache.commons.scxml.diagram.InitDiagram"
+            nameFilter="*.scxml"
+            objectClass="org.eclipse.core.resources.IFile">
+         <action
+               label="%initDiagramActionLabel"
+               class="org.apache.commons.scxml.diagram.part.ScxmlInitDiagramFileAction"
+               menubarPath="additions"
+               enablesFor="1"
+               id="org.apache.commons.scxml.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="ScxmlPresentation">
+         <Priority name="Lowest"/>
+         <ViewId id="org.apache.commons.scxml.diagram.part.ScxmlDiagramEditorID">
+            <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="ScxmlPresentationIDE">
+         <Priority name="Lowest"/>
+         <ViewId id="org.apache.commons.scxml.diagram.part.ScxmlDiagramEditorID">
+            <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="ScxmlRender">
+         <Priority name="Lowest"/>
+         <ViewId id="org.apache.commons.scxml.diagram.part.ScxmlDiagramEditorID">
+            <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.apache.commons.scxml.diagram.preferences.DiagramPreferenceInitializer"/>
+   </extension>
+
+   <extension point="org.eclipse.ui.preferencePages">
+      <?gmfgen generated="true"?>
+      <page
+            id="org.apache.commons.scxml.diagram.general"
+            name="%preference.page.title.org.apache.commons.scxml.diagram.general"
+            class="org.apache.commons.scxml.diagram.preferences.DiagramGeneralPreferencePage">
+      </page>
+      <page
+            id="org.apache.commons.scxml.diagram.appearance"
+            name="%preference.page.title.org.apache.commons.scxml.diagram.appearance"
+            category="org.apache.commons.scxml.diagram.general"
+            class="org.apache.commons.scxml.diagram.preferences.DiagramAppearancePreferencePage">
+      </page>
+      <page
+            id="org.apache.commons.scxml.diagram.connections"
+            name="%preference.page.title.org.apache.commons.scxml.diagram.connections"
+            category="org.apache.commons.scxml.diagram.general"
+            class="org.apache.commons.scxml.diagram.preferences.DiagramConnectionsPreferencePage">
+      </page>
+      <page
+            id="org.apache.commons.scxml.diagram.printing"
+            name="%preference.page.title.org.apache.commons.scxml.diagram.printing"
+            category="org.apache.commons.scxml.diagram.general"
+            class="org.apache.commons.scxml.diagram.preferences.DiagramPrintingPreferencePage">
+      </page>
+      <page
+            id="org.apache.commons.scxml.diagram.rulersAndGrid"
+            name="%preference.page.title.org.apache.commons.scxml.diagram.rulersAndGrid"
+            category="org.apache.commons.scxml.diagram.general"
+            class="org.apache.commons.scxml.diagram.preferences.DiagramRulersAndGridPreferencePage">
+      </page>
+      <page
+            id="org.apache.commons.scxml.diagram.pathmaps"
+            name="%preference.page.title.org.apache.commons.scxml.diagram.pathmaps"
+            category="org.apache.commons.scxml.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.apache.commons.scxml.diagram"
+            labelProvider="org.apache.commons.scxml.diagram.sheet.ScxmlSheetLabelProvider">
+         <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.apache.commons.scxml.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.apache.commons.scxml.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.apache.commons.scxml.diagram.sheet.ScxmlPropertySection">
+            <input type="org.eclipse.gmf.runtime.notation.View"/>
+            <input type="org.eclipse.gef.EditPart"/>
+            <input type="org.apache.commons.scxml.diagram.navigator.ScxmlAbstractNavigatorItem"/>
+         </propertySection>
+      </propertySections>
+   </extension>
+
+   <extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders">
+      <?gmfgen generated="true"?>
+      <viewProvider class="org.apache.commons.scxml.diagram.providers.ScxmlViewProvider">
+         <Priority name="Lowest"/>
+         <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="Scxml"/>
+         <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.apache.commons.scxml.diagram.providers.ScxmlEditPartProvider">
+         <Priority name="Lowest"/>
+      </editpartProvider>
+   </extension>
+
+   <extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders">
+      <?gmfgen generated="true"?>
+      <modelingAssistantProvider class="org.apache.commons.scxml.diagram.providers.ScxmlModelingAssistantProvider">
+         <Priority name="Lowest"/>
+      </modelingAssistantProvider>
+   </extension>
+
+   <extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders">
+      <?gmfgen generated="true"?>
+      <IconProvider class="org.apache.commons.scxml.diagram.providers.ScxmlIconProvider">
+         <Priority name="Low"/>
+      </IconProvider>
+   </extension>
+
+   <extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders">
+      <?gmfgen generated="true"?>
+      <ParserProvider class="org.apache.commons.scxml.diagram.providers.ScxmlParserProvider">
+         <Priority name="Lowest"/>
+      </ParserProvider>
+   </extension>
+
+   <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
+      <?gmfgen generated="true"?>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.ServiceTemplate_79"
+               name="%metatype.name.ServiceTemplate_79"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="ServiceTemplate"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ServiceTemplateEditHelper">
+            <param name="semanticHint" value="79"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.State_1001"
+               name="%metatype.name.State_1001"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="State"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.StateEditHelper">
+            <param name="semanticHint" value="1001"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.InitialState_1002"
+               name="%metatype.name.InitialState_1002"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.InitialState_2030"/>
+            <param name="semanticHint" value="1002"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Script_1003"
+               name="%metatype.name.Script_1003"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Script_2015"/>
+            <param name="semanticHint" value="1003"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Parallel_1004"
+               name="%metatype.name.Parallel_1004"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Parallel_2032"/>
+            <param name="semanticHint" value="1004"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.DataModel_1005"
+               name="%metatype.name.DataModel_1005"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="DataModel"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.DataModelEditHelper">
+            <param name="semanticHint" value="1005"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.FinalState_1006"
+               name="%metatype.name.FinalState_1006"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.FinalState_2040"/>
+            <param name="semanticHint" value="1006"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.OnEntry_2001"
+               name="%metatype.name.OnEntry_2001"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="OnEntry"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.OnEntryEditHelper">
+            <param name="semanticHint" value="2001"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.If_2002"
+               name="%metatype.name.If_2002"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="If"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.IfEditHelper">
+            <param name="semanticHint" value="2002"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.ElseIf_2003"
+               name="%metatype.name.ElseIf_2003"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="ElseIf"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ElseIfEditHelper">
+            <param name="semanticHint" value="2003"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Else_2004"
+               name="%metatype.name.Else_2004"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Else"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ElseEditHelper">
+            <param name="semanticHint" value="2004"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Assign_2005"
+               name="%metatype.name.Assign_2005"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Assign"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.AssignEditHelper">
+            <param name="semanticHint" value="2005"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Raise_2006"
+               name="%metatype.name.Raise_2006"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Raise"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.RaiseEditHelper">
+            <param name="semanticHint" value="2006"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Log_2007"
+               name="%metatype.name.Log_2007"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Log"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.LogEditHelper">
+            <param name="semanticHint" value="2007"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Validate_2008"
+               name="%metatype.name.Validate_2008"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Validate"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ValidateEditHelper">
+            <param name="semanticHint" value="2008"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Cancel_2009"
+               name="%metatype.name.Cancel_2009"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Cancel"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.CancelEditHelper">
+            <param name="semanticHint" value="2009"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Send_2010"
+               name="%metatype.name.Send_2010"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Send"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.SendEditHelper">
+            <param name="semanticHint" value="2010"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Param_2011"
+               name="%metatype.name.Param_2011"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Param"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ParamEditHelper">
+            <param name="semanticHint" value="2011"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Content_2012"
+               name="%metatype.name.Content_2012"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Content"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ContentEditHelper">
+            <param name="semanticHint" value="2012"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Content_2013"
+               name="%metatype.name.Content_2013"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Content_2012"/>
+            <param name="semanticHint" value="2013"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Param_2014"
+               name="%metatype.name.Param_2014"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Param_2011"/>
+            <param name="semanticHint" value="2014"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Script_2015"
+               name="%metatype.name.Script_2015"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Script"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ScriptEditHelper">
+            <param name="semanticHint" value="2015"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.OnExit_2016"
+               name="%metatype.name.OnExit_2016"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="OnExit"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.OnExitEditHelper">
+            <param name="semanticHint" value="2016"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.If_2017"
+               name="%metatype.name.If_2017"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.If_2002"/>
+            <param name="semanticHint" value="2017"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Assign_2018"
+               name="%metatype.name.Assign_2018"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Assign_2005"/>
+            <param name="semanticHint" value="2018"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Raise_2019"
+               name="%metatype.name.Raise_2019"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Raise_2006"/>
+            <param name="semanticHint" value="2019"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Log_2020"
+               name="%metatype.name.Log_2020"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Log_2007"/>
+            <param name="semanticHint" value="2020"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Validate_2021"
+               name="%metatype.name.Validate_2021"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Validate_2008"/>
+            <param name="semanticHint" value="2021"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Cancel_2022"
+               name="%metatype.name.Cancel_2022"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Cancel_2009"/>
+            <param name="semanticHint" value="2022"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Param_2023"
+               name="%metatype.name.Param_2023"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Param_2011"/>
+            <param name="semanticHint" value="2023"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Send_2024"
+               name="%metatype.name.Send_2024"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Send_2010"/>
+            <param name="semanticHint" value="2024"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Script_2025"
+               name="%metatype.name.Script_2025"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Script_2015"/>
+            <param name="semanticHint" value="2025"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Invoke_2026"
+               name="%metatype.name.Invoke_2026"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Invoke"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.InvokeEditHelper">
+            <param name="semanticHint" value="2026"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Finalize_2027"
+               name="%metatype.name.Finalize_2027"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Finalize"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.FinalizeEditHelper">
+            <param name="semanticHint" value="2027"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Param_2028"
+               name="%metatype.name.Param_2028"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Param_2011"/>
+            <param name="semanticHint" value="2028"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Content_2029"
+               name="%metatype.name.Content_2029"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Content_2012"/>
+            <param name="semanticHint" value="2029"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.InitialState_2030"
+               name="%metatype.name.InitialState_2030"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="InitialState"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.InitialStateEditHelper">
+            <param name="semanticHint" value="2030"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.HistoryState_2031"
+               name="%metatype.name.HistoryState_2031"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="HistoryState"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.HistoryStateEditHelper">
+            <param name="semanticHint" value="2031"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Parallel_2032"
+               name="%metatype.name.Parallel_2032"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Parallel"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.ParallelEditHelper">
+            <param name="semanticHint" value="2032"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.HistoryState_2033"
+               name="%metatype.name.HistoryState_2033"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.HistoryState_2031"/>
+            <param name="semanticHint" value="2033"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Anchor_2034"
+               name="%metatype.name.Anchor_2034"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Anchor"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.AnchorEditHelper">
+            <param name="semanticHint" value="2034"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Parallel_2035"
+               name="%metatype.name.Parallel_2035"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Parallel_2032"/>
+            <param name="semanticHint" value="2035"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.OnEntry_2036"
+               name="%metatype.name.OnEntry_2036"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.OnEntry_2001"/>
+            <param name="semanticHint" value="2036"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.OnExit_2037"
+               name="%metatype.name.OnExit_2037"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.OnExit_2016"/>
+            <param name="semanticHint" value="2037"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.State_2038"
+               name="%metatype.name.State_2038"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.State_1001"/>
+            <param name="semanticHint" value="2038"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Anchor_2039"
+               name="%metatype.name.Anchor_2039"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Anchor_2034"/>
+            <param name="semanticHint" value="2039"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.FinalState_2040"
+               name="%metatype.name.FinalState_2040"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="FinalState"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.FinalStateEditHelper">
+            <param name="semanticHint" value="2040"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Donedata_2041"
+               name="%metatype.name.Donedata_2041"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Donedata"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.DonedataEditHelper">
+            <param name="semanticHint" value="2041"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Param_2042"
+               name="%metatype.name.Param_2042"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Param_2011"/>
+            <param name="semanticHint" value="2042"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Content_2043"
+               name="%metatype.name.Content_2043"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Content_2012"/>
+            <param name="semanticHint" value="2043"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.OnEntry_2044"
+               name="%metatype.name.OnEntry_2044"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.OnEntry_2001"/>
+            <param name="semanticHint" value="2044"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.OnExit_2045"
+               name="%metatype.name.OnExit_2045"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.OnExit_2016"/>
+            <param name="semanticHint" value="2045"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.State_2046"
+               name="%metatype.name.State_2046"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.State_1001"/>
+            <param name="semanticHint" value="2046"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Data_2047"
+               name="%metatype.name.Data_2047"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Data"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.DataEditHelper">
+            <param name="semanticHint" value="2047"/>
+         </metamodelType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <specializationType
+               id="org.apache.commons.scxml.diagram.Content_2048"
+               name="%metatype.name.Content_2048"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+            <specializes id="org.apache.commons.scxml.diagram.Content_2012"/>
+            <param name="semanticHint" value="2048"/>
+         </specializationType>
+      </metamodel>
+      <metamodel nsURI="org.apache.commons.scxml">
+         <metamodelType
+               id="org.apache.commons.scxml.diagram.Translation_3001"
+               name="%metatype.name.Translation_3001"
+               kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
+               eclass="Translation"
+               edithelper="org.apache.commons.scxml.diagram.edit.helpers.TranslationEditHelper">
+            <param name="semanticHint" value="3001"/>
+         </metamodelType>
+      </metamodel>
+   </extension>
+
+   <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
+      <?gmfgen generated="true"?>
+      <clientContext id="ScxmlClientContext">
+         <enablement>
+            <test
+               property="org.eclipse.gmf.runtime.emf.core.editingDomain"
+               value="org.apache.commons.scxml.diagram.EditingDomain"/>
+         </enablement>
+      </clientContext> 
+      <binding context="ScxmlClientContext">
+         <elementType ref="org.apache.commons.scxml.diagram.ServiceTemplate_79"/>
+         <elementType ref="org.apache.commons.scxml.diagram.State_1001"/>
+         <elementType ref="org.apache.commons.scxml.diagram.InitialState_1002"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Script_1003"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Parallel_1004"/>
+         <elementType ref="org.apache.commons.scxml.diagram.DataModel_1005"/>
+         <elementType ref="org.apache.commons.scxml.diagram.FinalState_1006"/>
+         <elementType ref="org.apache.commons.scxml.diagram.OnEntry_2001"/>
+         <elementType ref="org.apache.commons.scxml.diagram.If_2002"/>
+         <elementType ref="org.apache.commons.scxml.diagram.ElseIf_2003"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Else_2004"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Assign_2005"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Raise_2006"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Log_2007"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Validate_2008"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Cancel_2009"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Send_2010"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Param_2011"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Content_2012"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Content_2013"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Param_2014"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Script_2015"/>
+         <elementType ref="org.apache.commons.scxml.diagram.OnExit_2016"/>
+         <elementType ref="org.apache.commons.scxml.diagram.If_2017"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Assign_2018"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Raise_2019"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Log_2020"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Validate_2021"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Cancel_2022"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Param_2023"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Send_2024"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Script_2025"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Invoke_2026"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Finalize_2027"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Param_2028"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Content_2029"/>
+         <elementType ref="org.apache.commons.scxml.diagram.InitialState_2030"/>
+         <elementType ref="org.apache.commons.scxml.diagram.HistoryState_2031"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Parallel_2032"/>
+         <elementType ref="org.apache.commons.scxml.diagram.HistoryState_2033"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Anchor_2034"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Parallel_2035"/>
+         <elementType ref="org.apache.commons.scxml.diagram.OnEntry_2036"/>
+         <elementType ref="org.apache.commons.scxml.diagram.OnExit_2037"/>
+         <elementType ref="org.apache.commons.scxml.diagram.State_2038"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Anchor_2039"/>
+         <elementType ref="org.apache.commons.scxml.diagram.FinalState_2040"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Donedata_2041"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Param_2042"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Content_2043"/>
+         <elementType ref="org.apache.commons.scxml.diagram.OnEntry_2044"/>
+         <elementType ref="org.apache.commons.scxml.diagram.OnExit_2045"/>
+         <elementType ref="org.apache.commons.scxml.diagram.State_2046"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Data_2047"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Content_2048"/>
+         <elementType ref="org.apache.commons.scxml.diagram.Translation_3001"/>
+         <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.apache.commons.scxml.diagram.URIEditorInputPropertyTester"
+           type="org.eclipse.emf.common.ui.URIEditorInput"
+           namespace="org.apache.commons.scxml.diagram"
+           properties="isURIEditorInput"
+           class="org.apache.commons.scxml.diagram.part.ScxmlUriEditorInputTester">
+       </propertyTester>
+   </extension>
+
+	   <extension point="org.eclipse.core.expressions.propertyTesters">
+      <?gmfgen generated="true"?>
+       <propertyTester
+           id="org.apache.commons.scxml.diagram.DomainModelElementPropertyTester"
+           type="org.eclipse.emf.ecore.EObject"
+           namespace="org.apache.commons.scxml.diagram"
+           properties="isDomainModelElement"
+           class="org.apache.commons.scxml.diagram.part.ScxmlDomainModelElementTester">
+       </propertyTester>
+   </extension>
+
+	   <extension point="org.eclipse.ui.navigator.viewer">
+      <?gmfgen generated="true"?>
+      <viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
+         <includes>
+            <contentExtension pattern="org.apache.commons.scxml.diagram.resourceContent"/>
+			<contentExtension pattern="org.apache.commons.scxml.diagram.domainResourceContent"/>
+            <contentExtension pattern="org.apache.commons.scxml.diagram.navigatorLinkHelper"/>
+         </includes>
+      </viewerContentBinding>
+      <viewerActionBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
+         <includes>
+            <actionExtension pattern="org.apache.commons.scxml.diagram.navigatorActionProvider"/>
+         </includes>
+      </viewerActionBinding>
+   </extension>
+
+   <extension point="org.eclipse.ui.navigator.navigatorContent">
+      <?gmfgen generated="true"?>
+      <navigatorContent
+            id="org.apache.commons.scxml.diagram.resourceContent" 
+            name="%navigatorContentName" 
+            priority="normal" 
+            contentProvider="org.apache.commons.scxml.diagram.navigator.ScxmlNavigatorContentProvider" 
+            labelProvider="org.apache.commons.scxml.diagram.navigator.ScxmlNavigatorLabelProvider"
+            icon="icons/obj16/ScxmlDiagramFile.gif"
+            activeByDefault="true">
+         <triggerPoints>
+            <or>
+	           <and>
+    	          <instanceof value="org.eclipse.core.resources.IFile"/>
+        	      <test property="org.eclipse.core.resources.extension" value="scxml_diagram"/>
+               </and>
+               <instanceof value="org.apache.commons.scxml.diagram.navigator.ScxmlAbstractNavigatorItem"/>
+            </or>
+         </triggerPoints>
+         <possibleChildren>
+            <or>
+         	   <instanceof value="org.apache.commons.scxml.diagram.navigator.ScxmlAbstractNavigatorItem"/>
+            </or>
+         </possibleChildren>
+         <commonSorter 
+               id="org.apache.commons.scxml.diagram.navigatorSorter" 
+               class="org.apache.commons.scxml.diagram.navigator.ScxmlNavigatorSorter">
+            <parentExpression>
+               <or>
+	              <and>
+    	             <instanceof value="org.eclipse.core.resources.IFile"/>
+        	         <test property="org.eclipse.core.resources.extension" value="scxml_diagram"/>
+                  </and>
+                  <instanceof value="org.apache.commons.scxml.diagram.navigator.ScxmlAbstractNavigatorItem"/>
+               </or>
+            </parentExpression>
+         </commonSorter>
+      </navigatorContent>
+      <navigatorContent
+            id="org.apache.commons.scxml.diagram.domainResourceContent" 
+            name="%domainNavigatorContentName" 
+            priority="normal" 
+            contentProvider="org.apache.commons.scxml.diagram.navigator.ScxmlDomainNavigatorContentProvider" 
+            labelProvider="org.apache.commons.scxml.diagram.navigator.ScxmlDomainNavigatorLabelProvider"
+            icon="icons/obj16/ScxmlDiagramFile.gif"
+            activeByDefault="true">
+         <triggerPoints>
+            <or>
+	           <and>
+    	          <instanceof value="org.eclipse.core.resources.IFile"/>
+        	      <test property="org.eclipse.core.resources.extension" value="scxml"/>
+               </and>
+               <and>
+                  <instanceof value="org.eclipse.emf.ecore.EObject"/>
+                  <test property="org.apache.commons.scxml.diagram.isDomainModelElement"/>
+               </and>
+            </or>
+         </triggerPoints>
+         <possibleChildren>
+            <and>
+       	       <instanceof value="org.eclipse.emf.ecore.EObject"/>
+       	       <test property="org.apache.commons.scxml.diagram.isDomainModelElement"/>
+       	    </and>
+         </possibleChildren>
+      </navigatorContent>
+      <actionProvider
+            id="org.apache.commons.scxml.diagram.navigatorActionProvider"
+            class="org.apache.commons.scxml.diagram.navigator.ScxmlNavigatorActionProvider">
+         <enablement>
+            <or>
+               <instanceof value="org.apache.commons.scxml.diagram.navigator.ScxmlAbstractNavigatorItem"/>
+            </or>
+         </enablement>
+      </actionProvider>
+   </extension>
+   
+	   <extension point="org.eclipse.ui.navigator.linkHelper">
+      <?gmfgen generated="true"?>
+      <linkHelper
+            id="org.apache.commons.scxml.diagram.navigatorLinkHelper"
+            class="org.apache.commons.scxml.diagram.navigator.ScxmlNavigatorLinkHelper">
+         <editorInputEnablement>
+            <and>
+               <instanceof value="org.eclipse.emf.common.ui.URIEditorInput"/>
+               <test property="org.apache.commons.scxml.diagram.isURIEditorInput"/>
+            </and>
+         </editorInputEnablement>
+         <selectionEnablement>
+            <instanceof value="org.apache.commons.scxml.diagram.navigator.ScxmlAbstractNavigatorItem"/>
+         </selectionEnablement>
+      </linkHelper>
+   </extension>
+   <extension point="org.eclipse.ui.commands">
+      <?gmfgen generated="true"?>
+      <command
+         categoryId="org.eclipse.ui.category.edit"
+         defaultHandler="org.apache.commons.scxml.diagram.part.ScxmlDiagramUpdateCommand"
+         description="%update.diagram.description"
+         id="org.apache.commons.scxml.diagram.updateDiagram"
+         name="%update.diagram.name"/>
+   </extension>
+   
+   <extension point="org.eclipse.ui.bindings">
+      <?gmfgen generated="true"?>
+      <key 
+         commandId="org.apache.commons.scxml.diagram.updateDiagram"
+         contextId="org.apache.commons.scxml.diagram.ui.diagramContext"
+         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+         sequence="F5"/>
+   </extension>
+</plugin>
\ No newline at end of file



Mime
View raw message