blob: e90c8f04f20821d642f83719f0df238bdd9b91ff [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" copyrightText="">
<diagram
visualID="1000"
editPartClassName="ModelEditPart"
itemSemanticEditPolicyClassName="ModelItemSemanticEditPolicy"
notationViewFactoryClassName="ModelViewFactory"
canonicalEditPolicyClassName="ModelCanonicalEditPolicy"
iconProviderPriority="Low"
validationProviderPriority="Low"
validationEnabled="true"
validationDecorators="true"
liveValidationUIFeedback="true">
<diagramRunTimeClass
href="../../../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>endlabels</containsShortcutsTo>
<shortcutsProvidedFor>endlabels</shortcutsProvidedFor>
<domainDiagramElement
href="endlabels.genmodel#//endlabels/Model"/>
<topLevelNodes
visualID="2001"
editPartClassName="ClassEditPart"
itemSemanticEditPolicyClassName="ClassItemSemanticEditPolicy"
notationViewFactoryClassName="ClassViewFactory"
canonicalEditPolicyClassName="ClassCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="ClassGraphicalNodeEditPolicy"
createCommandClassName="ClassCreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="ClassEditHelper"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="ClassFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class ClassFigure extends org.eclipse.draw2d.RoundedRectangle {&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureClassLabelFigure; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public ClassFigure() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)&#xA;, getMapMode().DPtoLP(8)&#xA;));&#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;&#x9;createContents();&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureClassLabelFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();&#xA;fFigureClassLabelFigure.setText(&quot;Class&quot;);&#xA;&#xA;this.add(fFigureClassLabelFigure);&#xA;&#xA;&#xA;&#x9;}&#xA;&#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;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureClassLabelFigure() {&#xA;&#x9;&#x9;return fFigureClassLabelFigure;&#xA;&#x9;}&#xA;&#xA;&#xA;}&#xA;&#xA;">
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet>
<metaClass
href="endlabels.genmodel#//endlabels/Class"/>
<containmentMetaFeature
href="endlabels.genmodel#//endlabels/Model/clases"/>
<childMetaFeature
href="endlabels.genmodel#//endlabels/Model/clases"/>
</modelFacet>
<labels
visualID="5001"
editPartClassName="ClassNameEditPart"
itemSemanticEditPolicyClassName="ClassNameItemSemanticEditPolicy"
notationViewFactoryClassName="ClassNameViewFactory"
elementIcon="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:ParentAssignedViewmap"
getterName="getFigureClassLabelFigure"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet">
<metaFeatures
href="endlabels.genmodel#//endlabels/NamedElement/name"/>
</modelFacet>
</labels>
</topLevelNodes>
<links
visualID="4001"
editPartClassName="AssociationEditPart"
itemSemanticEditPolicyClassName="AssociationItemSemanticEditPolicy"
notationViewFactoryClassName="AssociationViewFactory"
createCommandClassName="AssociationCreateCommand"
reorientCommandClassName="AssociationReorientCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="AssociationEditHelper"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx">
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:TypeLinkModelFacet">
<metaClass
href="endlabels.genmodel#//endlabels/Association"/>
<containmentMetaFeature
href="endlabels.genmodel#//endlabels/Model/asociations"/>
<childMetaFeature
href="endlabels.genmodel#//endlabels/Model/asociations"/>
<sourceMetaFeature
href="endlabels.genmodel#//endlabels/Association/source"/>
<targetMetaFeature
href="endlabels.genmodel#//endlabels/Association/target"/>
</modelFacet>
<labels
visualID="6001"
editPartClassName="AssociationEndLabelEditPart"
itemSemanticEditPolicyClassName="AssociationEndLabelItemSemanticEditPolicy"
notationViewFactoryClassName="AssociationEndLabelViewFactory"
alignment="TARGET">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="AssociationSourceLabelFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class AssociationSourceLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public AssociationSourceLabelFigure() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setText(&quot;Source&quot;);&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
<attributes
xsi:type="gmfgen:LabelOffsetAttributes"
x="5"
y="5"/>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet">
<metaFeatures
href="endlabels.genmodel#//endlabels/Association/sourceLabel"/>
</modelFacet>
</labels>
<labels
visualID="6002"
editPartClassName="AssociationTargetLabelEditPart"
itemSemanticEditPolicyClassName="AssociationTargetLabelItemSemanticEditPolicy"
notationViewFactoryClassName="AssociationTargetLabelViewFactory"
alignment="SOURCE">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="AssociationTargetLabelFigure"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class AssociationTargetLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public AssociationTargetLabelFigure() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setText(&quot;Target&quot;);&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
<attributes
xsi:type="gmfgen:LabelOffsetAttributes"
x="5"
y="5"/>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet">
<metaFeatures
href="endlabels.genmodel#//endlabels/Association/targetLabel"/>
</modelFacet>
</labels>
</links>
<palette>
<groups
title="Objects"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="Class"
description="Create new Class"
genNodes="//@diagram/@topLevelNodes.0"/>
</groups>
<groups
title="Connections"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="Association"
description="Create new Association"
genLinks="//@diagram/@links.0"/>
</groups>
</palette>
<preferencePages
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.endlabels.diagram.general"
name="Endlabels Diagram">
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.endlabels.diagram.appearance"
name="Appearance"
kind="Appearance"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.endlabels.diagram.connections"
name="Connections"
kind="Connections"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.endlabels.diagram.printing"
name="Printing"
kind="Printing"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.endlabels.diagram.rulersAndGrid"
name="Rulers And Grid"
kind="RulersAndGrid"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.epsilon.eugenia.examples.endlabels.diagram.pathmaps"
name="Pathmaps"
kind="Pathmaps"/>
</preferencePages>
</diagram>
<plugin
printingEnabled="true"/>
<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"/>
</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="endlabels.genmodel#/"/>
</gmfgen:GenEditorGenerator>