blob: 0aaf3369f4e3bf17e5883e5d09a395e1bfbed915 [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">
<diagram
visualID="1000"
editPartClassName="RootEditPart"
itemSemanticEditPolicyClassName="RootItemSemanticEditPolicy"
canonicalEditPolicyClassName="RootCanonicalEditPolicy"
iconProviderPriority="Low"
validationProviderPriority="Low">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="RootEditHelper"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#phantoms"/>
</viewmap>
<domainDiagramElement
href="phantoms.genmodel#//phantoms/Root"/>
<childNodes
visualID="3001"
editPartClassName="MediumParentEditPart"
itemSemanticEditPolicyClassName="MediumParentItemSemanticEditPolicy"
canonicalEditPolicyClassName="MediumParentCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="MediumParentGraphicalNodeEditPolicy"
createCommandClassName="MediumParentCreateCommand"
containers="//@diagram/@topLevelNodes.0">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="MediumParentEditHelper"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#MediumParent"/>
</viewmap>
<modelFacet>
<metaClass
href="phantoms.genmodel#//phantoms/MediumParent"/>
<containmentMetaFeature
href="phantoms.genmodel#//phantoms/Medium/children"/>
<childMetaFeature
href="phantoms.genmodel#//phantoms/Medium/children"/>
</modelFacet>
</childNodes>
<childNodes
visualID="3002"
editPartClassName="MediumChildEditPart"
itemSemanticEditPolicyClassName="MediumChildItemSemanticEditPolicy"
canonicalEditPolicyClassName="MediumChildCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="MediumChildGraphicalNodeEditPolicy"
createCommandClassName="MediumChildCreateCommand"
containers="//@diagram/@topLevelNodes.0">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="MediumChildEditHelper"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap"
layoutType="FLOW_LAYOUT">
<figureModel
href="phantoms.gmfgraph#MediumChild"/>
</viewmap>
<modelFacet>
<metaClass
href="phantoms.genmodel#//phantoms/MediumChild"/>
</modelFacet>
<labels
visualID="5001"
editPartClassName="MediumChildNameEditPart"
itemSemanticEditPolicyClassName="MediumChildNameItemSemanticEditPolicy"
elementIcon="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#MediumChildName"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
parser="//@labelParsers/@implementations.0">
<metaFeatures
href="phantoms.genmodel#//phantoms/MediumChild/name"/>
</modelFacet>
</labels>
</childNodes>
<topLevelNodes
visualID="2001"
editPartClassName="MediumEditPart"
itemSemanticEditPolicyClassName="MediumItemSemanticEditPolicy"
canonicalEditPolicyClassName="MediumCanonicalEditPolicy"
childNodes="//@diagram/@childNodes.0 //@diagram/@childNodes.1"
graphicalNodeEditPolicyClassName="MediumGraphicalNodeEditPolicy"
createCommandClassName="MediumCreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="MediumEditHelper"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap"
layoutType="XY_LAYOUT">
<figureModel
href="phantoms.gmfgraph#Medium"/>
</viewmap>
<modelFacet>
<metaClass
href="phantoms.genmodel#//phantoms/Medium"/>
<containmentMetaFeature
href="phantoms.genmodel#//phantoms/Root/children"/>
<childMetaFeature
href="phantoms.genmodel#//phantoms/Root/children"/>
</modelFacet>
</topLevelNodes>
<topLevelNodes
visualID="2002"
editPartClassName="TopParentEditPart"
itemSemanticEditPolicyClassName="TopParentItemSemanticEditPolicy"
canonicalEditPolicyClassName="TopParentCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="TopParentGraphicalNodeEditPolicy"
createCommandClassName="TopParentCreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="TopParentEditHelper"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#TopParent"/>
</viewmap>
<modelFacet>
<metaClass
href="phantoms.genmodel#//phantoms/TopParent"/>
<containmentMetaFeature
href="phantoms.genmodel#//phantoms/Root/children"/>
<childMetaFeature
href="phantoms.genmodel#//phantoms/Root/children"/>
</modelFacet>
</topLevelNodes>
<topLevelNodes
visualID="2003"
editPartClassName="TopChildEditPart"
itemSemanticEditPolicyClassName="TopChildItemSemanticEditPolicy"
canonicalEditPolicyClassName="TopChildCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="TopChildGraphicalNodeEditPolicy"
createCommandClassName="TopChildCreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="TopChildEditHelper"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap"
layoutType="FLOW_LAYOUT">
<figureModel
href="phantoms.gmfgraph#TopChild"/>
</viewmap>
<modelFacet>
<metaClass
href="phantoms.genmodel#//phantoms/TopChild"/>
</modelFacet>
<labels
visualID="5002"
editPartClassName="TopChildNameEditPart"
itemSemanticEditPolicyClassName="TopChildNameItemSemanticEditPolicy"
elementIcon="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#TopChildName"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
parser="//@labelParsers/@implementations.0">
<metaFeatures
href="phantoms.genmodel#//phantoms/TopChild/name"/>
</modelFacet>
</labels>
</topLevelNodes>
<links
visualID="4001"
editPartClassName="TopParentChildrenEditPart"
itemSemanticEditPolicyClassName="TopParentChildrenItemSemanticEditPolicy"
createCommandClassName="TopParentChildrenCreateCommand"
reorientCommandClassName="TopParentChildrenReorientCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
<elementType
xsi:type="gmfgen:SpecializationType"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#TopParentChildren"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="phantoms.genmodel#//phantoms/TopParent/children"/>
</modelFacet>
</links>
<links
visualID="4002"
editPartClassName="MediumParentChildrenEditPart"
itemSemanticEditPolicyClassName="MediumParentChildrenItemSemanticEditPolicy"
createCommandClassName="MediumParentChildrenCreateCommand"
reorientCommandClassName="MediumParentChildrenReorientCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
<elementType
xsi:type="gmfgen:SpecializationType"/>
<viewmap
xsi:type="gmfgen:ModeledViewmap">
<figureModel
href="phantoms.gmfgraph#MediumParentChildren"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="phantoms.genmodel#//phantoms/MediumParent/children"/>
</modelFacet>
</links>
<palette>
<groups
title="Nodes"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="TopParent"
description="Create new TopParent"
genNodes="//@diagram/@topLevelNodes.1"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="Medium"
description="Create new Medium"
genNodes="//@diagram/@topLevelNodes.0"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="MediumParent"
description="Create new MediumParent"
genNodes="//@diagram/@childNodes.0"/>
</groups>
<groups
title="Phantoms"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="TopChild"
description="Create new TopChild"
genNodes="//@diagram/@topLevelNodes.2"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="MediumChild"
description="Create new MediumChild"
genNodes="//@diagram/@childNodes.1"/>
</groups>
<groups
title="Links"
collapse="true">
<entries
xsi:type="gmfgen:ToolEntry"
title="MediumParentChildren"
description="Create new MediumParentChildren"
genLinks="//@diagram/@links.1"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="TopParentChildren"
description="Create new TopParentChildren"
genLinks="//@diagram/@links.0"/>
</groups>
</palette>
<preferencePages
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.gmf.tooling.examples.phantoms.diagram.general"
name="Phantoms Diagram">
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.gmf.tooling.examples.phantoms.diagram.appearance"
name="Appearance"
kind="Appearance"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.gmf.tooling.examples.phantoms.diagram.connections"
name="Connections"
kind="Connections"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.gmf.tooling.examples.phantoms.diagram.printing"
name="Printing"
kind="Printing"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.gmf.tooling.examples.phantoms.diagram.rulersAndGrid"
name="Rulers And Grid"
kind="RulersAndGrid"/>
</preferencePages>
</diagram>
<plugin>
<requiredPlugins>org.eclipse.gmf.tooling.runtime</requiredPlugins>
</plugin>
<editor/>
<navigator>
<childReferences
child="//@diagram"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@childNodes.0"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@childNodes.1"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.0"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.1"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.2"/>
<childReferences
parent="//@diagram"
child="//@diagram/@links.0"
groupName="links"
groupIcon="icons/linksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.0"
child="//@diagram/@topLevelNodes.2"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.2"
child="//@diagram/@links.0"
referenceType="in_source"
groupName="incoming links"
groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.0"
child="//@diagram/@topLevelNodes.1"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.1"
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/@childNodes.1"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@childNodes.1"
child="//@diagram/@links.1"
referenceType="in_source"
groupName="incoming links"
groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.1"
child="//@diagram/@childNodes.0"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@childNodes.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="phantoms.genmodel#/"/>
<labelParsers
extensibleViaService="true">
<implementations
xsi:type="gmfgen:PredefinedParser"
uses="//@diagram/@childNodes.1/@labels.0/@modelFacet //@diagram/@topLevelNodes.2/@labels.0/@modelFacet"/>
</labelParsers>
<contextMenus
context="//@diagram">
<items
xsi:type="gmfgen:LoadResourceAction"/>
</contextMenus>
</gmfgen:GenEditorGenerator>