blob: 1b77e77e3ab6845b944cacb4431c2f5cdbf53faf [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="WorldEditPart"
itemSemanticEditPolicyClassName="WorldItemSemanticEditPolicy"
canonicalEditPolicyClassName="WorldCanonicalEditPolicy"
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="WorldEditHelper"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
<containsShortcutsTo>friends</containsShortcutsTo>
<shortcutsProvidedFor>friends</shortcutsProvidedFor>
<domainDiagramElement
href="friends.genmodel#//friends/World"/>
<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:FigureViewmap"
figureQualifiedClassName="figures.PersonFigure"/>
<modelFacet>
<metaClass
href="friends.genmodel#//friends/Person"/>
<containmentMetaFeature
href="friends.genmodel#//friends/World/people"/>
<childMetaFeature
href="friends.genmodel#//friends/World/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="friends.genmodel#//friends/Person/name"/>
</modelFacet>
</labels>
</topLevelNodes>
<links
visualID="4001"
editPartClassName="PersonFriendOfEditPart"
itemSemanticEditPolicyClassName="PersonFriendOfItemSemanticEditPolicy"
createCommandClassName="PersonFriendOfCreateCommand"
reorientCommandClassName="PersonFriendOfReorientCommand">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
<elementType
xsi:type="gmfgen:SpecializationType"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="PersonFriendOfFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class PersonFriendOfFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public PersonFriendOfFigure() {&#xA;&#x9;&#x9;this.setLineWidth(2);&#xA;this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xA;&#x9;this.setForegroundColor(THIS_FORE&#xA;);&#xA;&#xA;&#x9;&#x9;setSourceDecoration(createSourceDecoration());&#xA;&#x9;&#x9;setTargetDecoration(createTargetDecoration());&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.RotatableDecoration createSourceDecoration() {&#xA;&#x9;&#x9;org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();&#xA;&#x9;&#x9;return df;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {&#xA;&#x9;&#x9;org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();&#xA;&#x9;&#x9;return df;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;/**&#xA; * @generated&#xA; */&#xA;static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 0, 255, 0);&#xA;&#xA;">
<attributes
xsi:type="gmfgen:StyleAttributes"
fixedForeground="true"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="friends.genmodel#//friends/Person/friendOf"/>
</modelFacet>
<labels
visualID="6001"
editPartClassName="WrappingLabelEditPart"
itemSemanticEditPolicyClassName="WrappingLabelItemSemanticEditPolicy"
readOnly="true">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
<attributes
xsi:type="gmfgen:LabelOffsetAttributes"
y="40"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:DesignLabelModelFacet"
parser="//@labelParsers/@implementations.1"/>
</labels>
</links>
<links
visualID="4002"
editPartClassName="PersonEnemyOfEditPart"
itemSemanticEditPolicyClassName="PersonEnemyOfItemSemanticEditPolicy"
createCommandClassName="PersonEnemyOfCreateCommand"
reorientCommandClassName="PersonEnemyOfReorientCommand">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
<elementType
xsi:type="gmfgen:SpecializationType"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="PersonEnemyOfFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class PersonEnemyOfFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public PersonEnemyOfFigure() {&#xA;&#x9;&#x9;this.setLineWidth(2);&#xA;this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xA;&#x9;this.setForegroundColor(THIS_FORE&#xA;);&#xA;&#xA;&#x9;&#x9;setSourceDecoration(createSourceDecoration());&#xA;&#x9;&#x9;setTargetDecoration(createTargetDecoration());&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.RotatableDecoration createSourceDecoration() {&#xA;&#x9;&#x9;org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();&#xA;&#x9;&#x9;return df;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {&#xA;&#x9;&#x9;org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();&#xA;&#x9;&#x9;return df;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;/**&#xA; * @generated&#xA; */&#xA;static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 255, 0, 0);&#xA;&#xA;">
<attributes
xsi:type="gmfgen:StyleAttributes"
fixedForeground="true"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="friends.genmodel#//friends/Person/enemyOf"/>
</modelFacet>
<labels
visualID="6002"
editPartClassName="WrappingLabel2EditPart"
itemSemanticEditPolicyClassName="WrappingLabel2ItemSemanticEditPolicy"
readOnly="true">
<diagramRunTimeClass
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
<attributes
xsi:type="gmfgen:LabelOffsetAttributes"
y="40"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:DesignLabelModelFacet"
parser="//@labelParsers/@implementations.1"/>
</labels>
</links>
<palette>
<groups
title="Objects"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="Person"
description="Create new Person"
genNodes="//@diagram/@topLevelNodes.0"/>
</groups>
<groups
title="Connections"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="EnemyOf"
description="Create new EnemyOf"
genLinks="//@diagram/@links.1"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="FriendOf"
description="Create new FriendOf"
genLinks="//@diagram/@links.0"/>
</groups>
</palette>
<preferencePages
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.friends.diagram.general"
name="Friends Diagram">
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.friends.diagram.appearance"
name="Appearance"
kind="Appearance"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.friends.diagram.connections"
name="Connections"
kind="Connections"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.friends.diagram.printing"
name="Printing"
kind="Printing"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.friends.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.epsilon.eugenia.examples.friends.figures</requiredPlugins>
</plugin>
<editor/>
<navigator>
<childReferences
child="//@diagram"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.0"/>
<childReferences
parent="//@diagram"
child="//@diagram/@links.0"
groupName="links"
groupIcon="icons/linksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.0"
child="//@diagram/@topLevelNodes.0"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.0"
referenceType="in_source"
groupName="incoming links"
groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.0"
child="//@diagram/@topLevelNodes.0"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.0"
referenceType="out_target"
groupName="outgoing links"
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram"
child="//@diagram/@links.1"
groupName="links"
groupIcon="icons/linksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.1"
child="//@diagram/@topLevelNodes.0"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.1"
referenceType="in_source"
groupName="incoming links"
groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.1"
child="//@diagram/@topLevelNodes.0"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.1"
referenceType="out_target"
groupName="outgoing links"
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
</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="friends.genmodel#/"/>
<labelParsers
extensibleViaService="true">
<implementations
xsi:type="gmfgen:PredefinedParser"
uses="//@diagram/@topLevelNodes.0/@labels.0/@modelFacet"/>
<implementations
xsi:type="gmfgen:ExternalParser"
uses="//@diagram/@links.0/@labels.0/@modelFacet //@diagram/@links.1/@labels.0/@modelFacet"/>
</labelParsers>
<contextMenus
context="//@diagram">
<items
xsi:type="gmfgen:LoadResourceAction"/>
</contextMenus>
</gmfgen:GenEditorGenerator>