Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.tooldef/models')
-rw-r--r--plugins/org.eclipse.gmf.tooldef/models/tooldef.ecore278
-rw-r--r--plugins/org.eclipse.gmf.tooldef/models/tooldef.genmodel216
2 files changed, 247 insertions, 247 deletions
diff --git a/plugins/org.eclipse.gmf.tooldef/models/tooldef.ecore b/plugins/org.eclipse.gmf.tooldef/models/tooldef.ecore
index 7b8aa5795..bea3f3691 100644
--- a/plugins/org.eclipse.gmf.tooldef/models/tooldef.ecore
+++ b/plugins/org.eclipse.gmf.tooldef/models/tooldef.ecore
@@ -1,139 +1,139 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="tooldef"
- nsURI="http://www.eclipse.org/gmf/2005/ToolDefinition" nsPrefix="gmftool">
- <eClassifiers xsi:type="ecore:EClass" name="ToolRegistry">
- <eStructuralFeatures xsi:type="ecore:EReference" name="sharedActions" upperBound="-1"
- eType="#//MenuAction" containment="true">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="Instead of placing&#x9;common actions somewhere in menu hierarchy and referencing them in (2..n) cases, keep them in this central registry and use ItemRef everywhere (i.e. in 1..n cases)"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="allMenus" upperBound="-1"
- eType="#//Menu" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="palette" eType="#//Palette"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AbstractTool" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EReference" name="smallIcon" eType="#//Image"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="largeIcon" eType="#//Image"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ToolContainer" abstract="true" eSuperTypes="#//AbstractTool">
- <eStructuralFeatures xsi:type="ecore:EReference" name="tools" upperBound="-1"
- eType="#//AbstractTool" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PaletteSeparator" eSuperTypes="#//AbstractTool"/>
- <eClassifiers xsi:type="ecore:EClass" name="ToolGroup" eSuperTypes="#//ToolContainer">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="collapsible" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="stack" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="active" eType="#//AbstractTool"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Palette" eSuperTypes="#//ToolContainer">
- <eStructuralFeatures xsi:type="ecore:EReference" name="default" eType="#//AbstractTool"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="StandardTool" eSuperTypes="#//AbstractTool">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="predefined, like zoom or marquee"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="toolKind" eType="#//StandardToolKind"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="StandardToolKind">
- <eLiterals name="SELECT"/>
- <eLiterals name="SELECT_PAN" value="1"/>
- <eLiterals name="MARQUEE" value="2"/>
- <eLiterals name="ZOOM_PAN" value="3"/>
- <eLiterals name="ZOOM_IN" value="4"/>
- <eLiterals name="ZOOM_OUT" value="5"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CreationTool" eSuperTypes="#//AbstractTool"/>
- <eClassifiers xsi:type="ecore:EClass" name="GenericTool" eSuperTypes="#//AbstractTool">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="toolClass" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ItemBase" abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="Menu" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
- eType="#//ItemBase" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Separator" eSuperTypes="#//ItemBase">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PredefinedItem" eSuperTypes="#//ItemBase">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PredefinedMenu" eSuperTypes="#//Menu #//PredefinedItem"/>
- <eClassifiers xsi:type="ecore:EClass" name="ContributionItem" abstract="true" interface="true"
- eSuperTypes="#//ItemBase">
- <eStructuralFeatures xsi:type="ecore:EReference" name="icon" eType="#//Image"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MenuAction" eSuperTypes="#//ContributionItem">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//ActionKind"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="hotKey" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ItemRef" eSuperTypes="#//ItemBase">
- <eStructuralFeatures xsi:type="ecore:EReference" name="item" lowerBound="1" eType="#//ItemBase"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ContextMenu" eSuperTypes="#//Menu">
- <eStructuralFeatures xsi:type="ecore:EReference" name="default" eType="#//MenuAction"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PopupMenu" eSuperTypes="#//Menu #//ContributionItem">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="iD" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- iD="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MainMenu" eSuperTypes="#//Menu">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="no default action and no id, just a collection of items"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Toolbar" eSuperTypes="#//Menu"/>
- <eClassifiers xsi:type="ecore:EEnum" name="ActionKind">
- <eLiterals name="CREATE"/>
- <eLiterals name="PROPCHANGE" value="1"/>
- <eLiterals name="MODIFY" value="2"/>
- <eLiterals name="PROCESS" value="3"/>
- <eLiterals name="CUSTOM" value="99"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Image" abstract="true" interface="true"/>
- <eClassifiers xsi:type="ecore:EClass" name="DefaultImage" eSuperTypes="#//Image">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="Delegate to EMF.Edit providers"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BundleImage" eSuperTypes="#//Image">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="Image bundled as part of distribution"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="path" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="Relative path to image"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="bundle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="Empty value means image path is relative to generated bundle"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="StyleSelector" abstract="true" interface="true">
- <eOperations name="isOk" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
- <eParameters name="style" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="GenericStyleSelector" eSuperTypes="#//StyleSelector">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="values" lowerBound="1"
- upperBound="-1" eType="#//AppearanceStyle"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="AppearanceStyle">
- <eLiterals name="Font"/>
- <eLiterals name="Fill" value="1"/>
- <eLiterals name="Line" value="2"/>
- </eClassifiers>
-</ecore:EPackage>
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="tooldef"
+ nsURI="http://www.eclipse.org/gmf/2005/ToolDefinition" nsPrefix="gmftool">
+ <eClassifiers xsi:type="ecore:EClass" name="ToolRegistry">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sharedActions" upperBound="-1"
+ eType="#//MenuAction" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Instead of placing&#x9;common actions somewhere in menu hierarchy and referencing them in (2..n) cases, keep them in this central registry and use ItemRef everywhere (i.e. in 1..n cases)"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="allMenus" upperBound="-1"
+ eType="#//Menu" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="palette" eType="#//Palette"
+ containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractTool" abstract="true">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="smallIcon" eType="#//Image"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="largeIcon" eType="#//Image"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ToolContainer" abstract="true" eSuperTypes="#//AbstractTool">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="tools" upperBound="-1"
+ eType="#//AbstractTool" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PaletteSeparator" eSuperTypes="#//AbstractTool"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ToolGroup" eSuperTypes="#//ToolContainer">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="collapsible" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="stack" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="active" eType="#//AbstractTool"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Palette" eSuperTypes="#//ToolContainer">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="default" eType="#//AbstractTool"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StandardTool" eSuperTypes="#//AbstractTool">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="predefined, like zoom or marquee"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="toolKind" eType="#//StandardToolKind"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="StandardToolKind">
+ <eLiterals name="SELECT"/>
+ <eLiterals name="SELECT_PAN" value="1"/>
+ <eLiterals name="MARQUEE" value="2"/>
+ <eLiterals name="ZOOM_PAN" value="3"/>
+ <eLiterals name="ZOOM_IN" value="4"/>
+ <eLiterals name="ZOOM_OUT" value="5"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CreationTool" eSuperTypes="#//AbstractTool"/>
+ <eClassifiers xsi:type="ecore:EClass" name="GenericTool" eSuperTypes="#//AbstractTool">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="toolClass" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ItemBase" abstract="true" interface="true"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Menu" abstract="true">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
+ eType="#//ItemBase" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Separator" eSuperTypes="#//ItemBase">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PredefinedItem" eSuperTypes="#//ItemBase">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PredefinedMenu" eSuperTypes="#//Menu #//PredefinedItem"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ContributionItem" abstract="true" interface="true"
+ eSuperTypes="#//ItemBase">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="icon" eType="#//Image"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MenuAction" eSuperTypes="#//ContributionItem">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//ActionKind"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="hotKey" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ItemRef" eSuperTypes="#//ItemBase">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="item" lowerBound="1" eType="#//ItemBase"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ContextMenu" eSuperTypes="#//Menu">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="default" eType="#//MenuAction"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PopupMenu" eSuperTypes="#//Menu #//ContributionItem">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="iD" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ iD="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MainMenu" eSuperTypes="#//Menu">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="no default action and no id, just a collection of items"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Toolbar" eSuperTypes="#//Menu"/>
+ <eClassifiers xsi:type="ecore:EEnum" name="ActionKind">
+ <eLiterals name="CREATE"/>
+ <eLiterals name="PROPCHANGE" value="1"/>
+ <eLiterals name="MODIFY" value="2"/>
+ <eLiterals name="PROCESS" value="3"/>
+ <eLiterals name="CUSTOM" value="99"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Image" abstract="true" interface="true"/>
+ <eClassifiers xsi:type="ecore:EClass" name="DefaultImage" eSuperTypes="#//Image">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Delegate to EMF.Edit providers"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="BundleImage" eSuperTypes="#//Image">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Image bundled as part of distribution"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="path" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Relative path to image"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bundle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Empty value means image path is relative to generated bundle"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StyleSelector" abstract="true" interface="true">
+ <eOperations name="isOk" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eParameters name="style" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ </eOperations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GenericStyleSelector" eSuperTypes="#//StyleSelector">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="values" lowerBound="1"
+ upperBound="-1" eType="#//AppearanceStyle"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="AppearanceStyle">
+ <eLiterals name="Font"/>
+ <eLiterals name="Fill" value="1"/>
+ <eLiterals name="Line" value="2"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.gmf.tooldef/models/tooldef.genmodel b/plugins/org.eclipse.gmf.tooldef/models/tooldef.genmodel
index 3f911f1ab..929cdb994 100644
--- a/plugins/org.eclipse.gmf.tooldef/models/tooldef.genmodel
+++ b/plugins/org.eclipse.gmf.tooldef/models/tooldef.genmodel
@@ -1,108 +1,108 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.gmf.tooldef/src"
- editorDirectory="/org.eclipse.gmf.tooldef.edit/src" modelPluginID="org.eclipse.gmf.tooldef"
- templateDirectory="" redirection="" modelName="GMFTool" editorPluginClass="org.eclipse.gmf.tooldef.provider.GMFToolEditPlugin"
- codeFormatting="true" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0">
- <foreignModel>tooldef.ecore</foreignModel>
- <genPackages prefix="GMFTool" basePackage="org.eclipse.gmf" disposableProviderFactory="true"
- literalsInterface="false" ecorePackage="tooldef.ecore#/">
- <genEnums ecoreEnum="tooldef.ecore#//StandardToolKind">
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/SELECT"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/SELECT_PAN"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/MARQUEE"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/ZOOM_PAN"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/ZOOM_IN"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/ZOOM_OUT"/>
- </genEnums>
- <genEnums ecoreEnum="tooldef.ecore#//ActionKind">
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/CREATE"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/PROPCHANGE"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/MODIFY"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/PROCESS"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/CUSTOM"/>
- </genEnums>
- <genEnums ecoreEnum="tooldef.ecore#//AppearanceStyle">
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//AppearanceStyle/Font"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//AppearanceStyle/Fill"/>
- <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//AppearanceStyle/Line"/>
- </genEnums>
- <genClasses ecoreClass="tooldef.ecore#//ToolRegistry">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolRegistry/sharedActions"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolRegistry/allMenus"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolRegistry/palette"/>
- </genClasses>
- <genClasses image="false" ecoreClass="tooldef.ecore#//AbstractTool">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//AbstractTool/smallIcon"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//AbstractTool/largeIcon"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//AbstractTool/title"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//AbstractTool/description"/>
- </genClasses>
- <genClasses image="false" ecoreClass="tooldef.ecore#//ToolContainer">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolContainer/tools"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//PaletteSeparator"/>
- <genClasses ecoreClass="tooldef.ecore#//ToolGroup">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//ToolGroup/collapsible"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//ToolGroup/stack"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//ToolGroup/active"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//Palette">
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//Palette/default"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//StandardTool">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//StandardTool/toolKind"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//CreationTool"/>
- <genClasses ecoreClass="tooldef.ecore#//GenericTool">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//GenericTool/toolClass"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//ItemBase"/>
- <genClasses image="false" ecoreClass="tooldef.ecore#//Menu">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//Menu/items"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//Separator">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//Separator/name"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//PredefinedItem">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//PredefinedItem/identifier"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//PredefinedMenu"/>
- <genClasses ecoreClass="tooldef.ecore#//ContributionItem">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ContributionItem/icon"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//ContributionItem/title"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//MenuAction">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//MenuAction/kind"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//MenuAction/hotKey"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//ItemRef">
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//ItemRef/item"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//ContextMenu">
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//ContextMenu/default"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//PopupMenu">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//PopupMenu/iD"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//MainMenu">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//MainMenu/title"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//Toolbar"/>
- <genClasses ecoreClass="tooldef.ecore#//Image"/>
- <genClasses ecoreClass="tooldef.ecore#//DefaultImage"/>
- <genClasses ecoreClass="tooldef.ecore#//BundleImage">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//BundleImage/path"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//BundleImage/bundle"/>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//StyleSelector">
- <genOperations ecoreOperation="tooldef.ecore#//StyleSelector/isOk">
- <genParameters ecoreParameter="tooldef.ecore#//StyleSelector/isOk/style"/>
- </genOperations>
- </genClasses>
- <genClasses ecoreClass="tooldef.ecore#//GenericStyleSelector">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//GenericStyleSelector/values"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.gmf.tooldef/src"
+ editorDirectory="/org.eclipse.gmf.tooldef.edit/src" modelPluginID="org.eclipse.gmf.tooldef"
+ templateDirectory="" redirection="" modelName="GMFTool" editorPluginClass="org.eclipse.gmf.tooldef.provider.GMFToolEditPlugin"
+ codeFormatting="true" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0">
+ <foreignModel>tooldef.ecore</foreignModel>
+ <genPackages prefix="GMFTool" basePackage="org.eclipse.gmf" disposableProviderFactory="true"
+ literalsInterface="false" ecorePackage="tooldef.ecore#/">
+ <genEnums ecoreEnum="tooldef.ecore#//StandardToolKind">
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/SELECT"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/SELECT_PAN"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/MARQUEE"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/ZOOM_PAN"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/ZOOM_IN"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//StandardToolKind/ZOOM_OUT"/>
+ </genEnums>
+ <genEnums ecoreEnum="tooldef.ecore#//ActionKind">
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/CREATE"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/PROPCHANGE"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/MODIFY"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/PROCESS"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//ActionKind/CUSTOM"/>
+ </genEnums>
+ <genEnums ecoreEnum="tooldef.ecore#//AppearanceStyle">
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//AppearanceStyle/Font"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//AppearanceStyle/Fill"/>
+ <genEnumLiterals ecoreEnumLiteral="tooldef.ecore#//AppearanceStyle/Line"/>
+ </genEnums>
+ <genClasses ecoreClass="tooldef.ecore#//ToolRegistry">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolRegistry/sharedActions"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolRegistry/allMenus"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolRegistry/palette"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="tooldef.ecore#//AbstractTool">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//AbstractTool/smallIcon"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//AbstractTool/largeIcon"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//AbstractTool/title"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//AbstractTool/description"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="tooldef.ecore#//ToolContainer">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ToolContainer/tools"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//PaletteSeparator"/>
+ <genClasses ecoreClass="tooldef.ecore#//ToolGroup">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//ToolGroup/collapsible"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//ToolGroup/stack"/>
+ <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//ToolGroup/active"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//Palette">
+ <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//Palette/default"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//StandardTool">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//StandardTool/toolKind"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//CreationTool"/>
+ <genClasses ecoreClass="tooldef.ecore#//GenericTool">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//GenericTool/toolClass"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//ItemBase"/>
+ <genClasses image="false" ecoreClass="tooldef.ecore#//Menu">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//Menu/items"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//Separator">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//Separator/name"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//PredefinedItem">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//PredefinedItem/identifier"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//PredefinedMenu"/>
+ <genClasses ecoreClass="tooldef.ecore#//ContributionItem">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference tooldef.ecore#//ContributionItem/icon"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//ContributionItem/title"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//MenuAction">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//MenuAction/kind"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//MenuAction/hotKey"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//ItemRef">
+ <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//ItemRef/item"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//ContextMenu">
+ <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference tooldef.ecore#//ContextMenu/default"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//PopupMenu">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//PopupMenu/iD"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//MainMenu">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//MainMenu/title"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//Toolbar"/>
+ <genClasses ecoreClass="tooldef.ecore#//Image"/>
+ <genClasses ecoreClass="tooldef.ecore#//DefaultImage"/>
+ <genClasses ecoreClass="tooldef.ecore#//BundleImage">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//BundleImage/path"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//BundleImage/bundle"/>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//StyleSelector">
+ <genOperations ecoreOperation="tooldef.ecore#//StyleSelector/isOk">
+ <genParameters ecoreParameter="tooldef.ecore#//StyleSelector/isOk/style"/>
+ </genOperations>
+ </genClasses>
+ <genClasses ecoreClass="tooldef.ecore#//GenericStyleSelector">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute tooldef.ecore#//GenericStyleSelector/values"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>

Back to the top