blob: cca46e23ce5224d1881ef9ec411939650ddaa600 [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/2009/GenModel"
copyrightText="">
<diagram
visualID="1000"
editPartClassName="ModelEditPart"
itemSemanticEditPolicyClassName="ModelItemSemanticEditPolicy"
canonicalEditPolicyClassName="ModelCanonicalEditPolicy"
iconProviderPriority="Low"
validationProviderPriority="Low"
validationEnabled="true"
validationDecorators="true"
liveValidationUIFeedback="true">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="ModelEditHelper"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
<containsShortcutsTo>people</containsShortcutsTo>
<shortcutsProvidedFor>people</shortcutsProvidedFor>
<domainDiagramElement
href="people.genmodel#//people/Model"/>
<topLevelNodes
visualID="2001"
editPartClassName="PersonEditPart"
itemSemanticEditPolicyClassName="PersonItemSemanticEditPolicy"
canonicalEditPolicyClassName="PersonCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="PersonGraphicalNodeEditPolicy"
createCommandClassName="PersonCreateCommand">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="PersonEditHelper"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="PersonFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class PersonFigure extends org.eclipse.gmf.runtime.lite.svg.SVGFigure {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public PersonFigure() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setURI(&quot;platform:/plugin/org.eclipse.epsilon.eugenia.examples.svg/svg/person.svg&quot;);&#xA;this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;));&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;"/>
<modelFacet>
<metaClass
href="people.genmodel#//people/Person"/>
<containmentMetaFeature
href="people.genmodel#//people/Model/people"/>
<childMetaFeature
href="people.genmodel#//people/Model/people"/>
</modelFacet>
<labels
xsi:type="gmfgen:GenExternalNodeLabel"
visualID="5001"
editPartClassName="PersonNameEditPart"
itemSemanticEditPolicyClassName="PersonNameItemSemanticEditPolicy">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="PersonLabelFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class PersonLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public PersonLabelFigure() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setText(&quot;Person&quot;);&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;"/>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
parser="//@labelParsers/@implementations.0">
<metaFeatures
href="people.genmodel#//people/Person/name"/>
</modelFacet>
</labels>
</topLevelNodes>
<palette>
<groups
title="Objects"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="Person"
description="Create new Person"
genNodes="//@diagram/@topLevelNodes.0"/>
</groups>
</palette>
<preferencePages
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.svg.diagram.general"
name="People Diagram">
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.svg.diagram.appearance"
name="Appearance"
kind="Appearance"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.svg.diagram.connections"
name="Connections"
kind="Connections"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.svg.diagram.printing"
name="Printing"
kind="Printing"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.svg.diagram.rulersAndGrid"
name="Rulers And Grid"
kind="RulersAndGrid"/>
</preferencePages>
</diagram>
<plugin
printingEnabled="true">
<requiredPlugins>org.eclipse.gmf.tooling.runtime</requiredPlugins>
<requiredPlugins>org.eclipse.draw2d</requiredPlugins>
<requiredPlugins>org.eclipse.gmf.runtime.draw2d.ui</requiredPlugins>
<requiredPlugins>org.eclipse.gmf.runtime.lite.svg</requiredPlugins>
</plugin>
<editor/>
<navigator>
<childReferences
child="//@diagram"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.0"/>
</navigator>
<diagramUpdater/>
<propertySheet>
<tabs
xsi:type="gmfgen:GenStandardPropertyTab"
iD="appearance"/>
<tabs
xsi:type="gmfgen:GenStandardPropertyTab"
iD="diagram"/>
<tabs
xsi:type="gmfgen:GenCustomPropertyTab"
iD="domain"
label="Core">
<filter
xsi:type="gmfgen:TypeTabFilter">
<types>org.eclipse.gmf.runtime.notation.View</types>
<types>org.eclipse.gef.EditPart</types>
<generatedTypes>abstractNavigatorItem</generatedTypes>
</filter>
</tabs>
</propertySheet>
<domainGenModel
href="people.genmodel#/"/>
<labelParsers
extensibleViaService="true">
<implementations
xsi:type="gmfgen:PredefinedParser"
uses="//@diagram/@topLevelNodes.0/@labels.0/@modelFacet"/>
</labelParsers>
<contextMenus
context="//@diagram">
<items
xsi:type="gmfgen:LoadResourceAction"/>
</contextMenus>
</gmfgen:GenEditorGenerator>