blob: eae0c0bbb677a6fb506f1cc58386d29851a74718 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<gmfgen:GenEditorGenerator xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmfgen="http://www.eclipse.org/gmf/2008/GenModel">
<diagram
visualID="1000"
editPartClassName="EPackageEditPart"
itemSemanticEditPolicyClassName="EPackageItemSemanticEditPolicy"
notationViewFactoryClassName="EPackageViewFactory"
canonicalEditPolicyClassName="EPackageCanonicalEditPolicy"
iconProviderPriority="Low">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="EPackageEditHelper"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
<domainDiagramElement
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage"/>
<topLevelNodes
visualID="2001"
editPartClassName="EClassEditPart"
itemSemanticEditPolicyClassName="EClassItemSemanticEditPolicy"
notationViewFactoryClassName="EClassViewFactory"
canonicalEditPolicyClassName="EClassCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="EClassGraphicalNodeEditPolicy">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="EClassEditHelper"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
layoutType="TOOLBAR_LAYOUT"
className="NodeRectangle"
classBody="&#xA;&#xA;/**&#xA; * @generated&#xA; */&#xA;public class NodeRectangle extends org.eclipse.draw2d.RectangleFigure {&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public NodeRectangle() {&#x9;&#xA;&#x9;&#x9;&#xA;&#x9;&#x9;org.eclipse.draw2d.ToolbarLayout myGenLayoutManager = new org.eclipse.draw2d.ToolbarLayout();&#xA;&#x9;&#x9;&#x9;&#x9;myGenLayoutManager.setStretchMinorAxis(true);&#xA;&#x9;&#x9;myGenLayoutManager.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER);&#x9;&#x9;&#xA;&#x9;&#x9;myGenLayoutManager.setSpacing(0);&#xA;&#x9;&#x9;myGenLayoutManager.setVertical(true);&#xA;&#xA;&#xA;&#x9;&#xA;&#x9;&#x9;this.setLayoutManager(myGenLayoutManager);&#xA;&#xA;&#x9;&#x9;&#xA;&#x9;&#x9;createContents();&#xA;&#x9;}&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#x9;}&#xA;&#x9;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xA;&#x9;}&#xA;&#x9;&#xA;&#xA;}&#xA;&#x9;&#xA;">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet>
<metaClass
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClass"/>
<containmentMetaFeature
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage/eClassifiers"/>
<childMetaFeature
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage/eClassifiers"/>
</modelFacet>
<labels
xsi:type="gmfgen:GenExternalNodeLabel"
visualID="5001"
editPartClassName="EClassNameEditPart"
itemSemanticEditPolicyClassName="EClassNameItemSemanticEditPolicy"
notationViewFactoryClassName="EClassNameViewFactory"
elementIcon="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet">
<metaFeatures
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
<labels
xsi:type="gmfgen:GenExternalNodeLabel"
visualID="5002"
editPartClassName="EClassNameDefaultValueEditPart"
itemSemanticEditPolicyClassName="EClassNameDefaultValueItemSemanticEditPolicy"
notationViewFactoryClassName="EClassNameDefaultValueViewFactory"
elementIcon="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
viewPattern="{0}:{1}"
editPattern="{0}:{1}">
<metaFeatures
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
<metaFeatures
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClassifier/defaultValue"/>
</modelFacet>
</labels>
<labels
xsi:type="gmfgen:GenExternalNodeLabel"
visualID="5003"
editPartClassName="LabelEditPart"
itemSemanticEditPolicyClassName="LabelItemSemanticEditPolicy"
notationViewFactoryClassName="LabelViewFactory"
elementIcon="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
</labels>
</topLevelNodes>
<palette>
<groups
title="Nodes"
description="Generated node creation tools">
<entries
xsi:type="gmfgen:ToolEntry"
title="Create Node 1"
genNodes="//@diagram/@topLevelNodes.0"/>
</groups>
</palette>
</diagram>
<plugin/>
<editor/>
<domainGenModel
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#/"/>
</gmfgen:GenEditorGenerator>