Skip to content

Commit

Permalink
[FIX] ObeoNetwork#98 Add a tool for actor in BDD
Browse files Browse the repository at this point in the history
  • Loading branch information
fbats authored and mbats committed Feb 13, 2018
1 parent d29a0d2 commit 1191b6b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions plugins/org.obeonetwork.dsl.sysml.design/description/sysml.odesign
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,17 @@
</firstModelOperations>
</initialOperation>
</ownedTools>
<ownedTools xsi:type="tool:NodeCreationDescription" name="BDD_Create_Actor" label="Actor" nodeMappings="//@ownedViewpoints[name='SysML']/@ownedRepresentations[name='Block%20Definition%20Diagram']/@defaultLayer/@nodeMappings[name='BDD_Actor']">
<variable name="container"/>
<viewVariable name="containerView"/>
<initialOperation>
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="var:container">
<subModelOperations xsi:type="tool_1:CreateInstance" typeName="uml.Actor" referenceName="ownedType">
<subModelOperations xsi:type="tool_1:SetValue" featureName="name" valueExpression="service:computeDefaultName"/>
</subModelOperations>
</firstModelOperations>
</initialOperation>
</ownedTools>
<ownedTools xsi:type="tool:ToolGroup" name="Group DataType" label="Data Types">
<tools xsi:type="tool:ContainerCreationDescription" name="Create ValueType" label="ValueType" containerMappings="//@ownedViewpoints[name='SysML']/@ownedRepresentations[name='Block%20Definition%20Diagram']/@defaultLayer/@containerMappings[name='BDD_ValueType']">
<variable name="container"/>
Expand Down

0 comments on commit 1191b6b

Please sign in to comment.