85 lines
7.1 KiB
Plaintext
85 lines
7.1 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<description:Group xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:tool="http://www.eclipse.org/sirius/diagram/description/tool/1.1.0" xmlns:tool_1="http://www.eclipse.org/sirius/description/tool/1.1.0" name="simplePDL" version="12.0.0.2017041100">
|
||
|
<ownedViewpoints name="simplepdlViewpoint" modelFileExtension="simplepdl">
|
||
|
<ownedRepresentations xsi:type="description_1:DiagramDescription" name="ProcessDiagram" domainClass="simplepdl::Process" enablePopupBars="true">
|
||
|
<metamodel href="http://simplepdl#/"/>
|
||
|
<defaultLayer name="Default">
|
||
|
<nodeMappings name="WDNode" domainClass="simplepdl::WorkDefinition">
|
||
|
<style xsi:type="style:EllipseNodeDescription" borderSizeComputationExpression="3" labelSize="12" showIcon="false" labelPosition="node" resizeKind="NSEW">
|
||
|
<borderColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
|
||
|
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
|
||
|
<color xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='gray']"/>
|
||
|
</style>
|
||
|
</nodeMappings>
|
||
|
<nodeMappings name="GuidanceNode" domainClass="simplepdl::Guidance">
|
||
|
<style xsi:type="style:SquareDescription" borderSizeComputationExpression="3" labelSize="12" showIcon="false" labelExpression="feature:text" labelPosition="node" resizeKind="NSEW">
|
||
|
<borderColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
|
||
|
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
|
||
|
<color xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_yellow']"/>
|
||
|
</style>
|
||
|
</nodeMappings>
|
||
|
<edgeMappings name="WSEdge" sourceMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode']" targetMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode']" targetFinderExpression="feature:successor" sourceFinderExpression="feature:predecessor" domainClass="simplepdl::WorkSequence" useDomainElement="true">
|
||
|
<style sizeComputationExpression="2">
|
||
|
<strokeColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_yellow']"/>
|
||
|
<centerLabelStyleDescription labelSize="12" showIcon="false" labelExpression="feature:linkType">
|
||
|
<labelFormat>bold</labelFormat>
|
||
|
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_yellow']"/>
|
||
|
</centerLabelStyleDescription>
|
||
|
</style>
|
||
|
</edgeMappings>
|
||
|
<edgeMappings name="GEdge" sourceMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='GuidanceNode']" targetMapping="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode']" targetFinderExpression="feature:elements">
|
||
|
<style lineStyle="dash" sizeComputationExpression="2">
|
||
|
<strokeColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='gray']"/>
|
||
|
<centerLabelStyleDescription labelSize="12">
|
||
|
<labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
|
||
|
</centerLabelStyleDescription>
|
||
|
</style>
|
||
|
</edgeMappings>
|
||
|
<toolSections name="OutilsSection">
|
||
|
<ownedTools xsi:type="tool:NodeCreationDescription" name="WDCreation" nodeMappings="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='WDNode']">
|
||
|
<variable name="container"/>
|
||
|
<viewVariable name="containerView"/>
|
||
|
<initialOperation>
|
||
|
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="[container/]">
|
||
|
<subModelOperations xsi:type="tool_1:CreateInstance" typeName="simplepdl::WorkDefinition" referenceName="processElements"/>
|
||
|
</firstModelOperations>
|
||
|
</initialOperation>
|
||
|
</ownedTools>
|
||
|
<ownedTools xsi:type="tool:EdgeCreationDescription" name="WSCreation" edgeMappings="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@edgeMappings[name='WSEdge']">
|
||
|
<sourceVariable name="source"/>
|
||
|
<targetVariable name="target"/>
|
||
|
<sourceViewVariable name="sourceView"/>
|
||
|
<targetViewVariable name="targetView"/>
|
||
|
<initialOperation>
|
||
|
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="[self.eContainer()/]">
|
||
|
<subModelOperations xsi:type="tool_1:CreateInstance" typeName="simplepdl::WorkSequence" referenceName="processElements">
|
||
|
<subModelOperations xsi:type="tool_1:SetValue" featureName="predecessor" valueExpression="[source/]"/>
|
||
|
<subModelOperations xsi:type="tool_1:SetValue" featureName="successor" valueExpression="[target/]"/>
|
||
|
</subModelOperations>
|
||
|
</firstModelOperations>
|
||
|
</initialOperation>
|
||
|
</ownedTools>
|
||
|
<ownedTools xsi:type="tool:NodeCreationDescription" name="GCreation" nodeMappings="//@ownedViewpoints[name='simplepdlViewpoint']/@ownedRepresentations[name='ProcessDiagram']/@defaultLayer/@nodeMappings[name='GuidanceNode']">
|
||
|
<variable name="container"/>
|
||
|
<viewVariable name="containerView"/>
|
||
|
<initialOperation>
|
||
|
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="[container/]">
|
||
|
<subModelOperations xsi:type="tool_1:CreateInstance" typeName="simplepdl::Guidance" referenceName="processElements"/>
|
||
|
</firstModelOperations>
|
||
|
</initialOperation>
|
||
|
</ownedTools>
|
||
|
<ownedTools xsi:type="tool_1:ToolDescription" name="GuidanceLink" elementsToSelect="simplepdl::Guidance">
|
||
|
<element name="element"/>
|
||
|
<elementView name="elementView"/>
|
||
|
<initialOperation>
|
||
|
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="[self.eContainer()/]">
|
||
|
<subModelOperations xsi:type="tool_1:SetValue" featureName="elements" valueExpression="[target/]"/>
|
||
|
</firstModelOperations>
|
||
|
</initialOperation>
|
||
|
</ownedTools>
|
||
|
</toolSections>
|
||
|
</defaultLayer>
|
||
|
</ownedRepresentations>
|
||
|
</ownedViewpoints>
|
||
|
</description:Group>
|