Commit 164b0a59 authored by Martti Käärik's avatar Martti Käärik
Browse files

Limit semantic objects for time label/constraint and component instance to test description.

Change-Id: Ifa36828ae0c5694fd59e79c5806870b0a1f776d7
parent 3e0bc86c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -25,14 +25,14 @@
            <color xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='white']"/>
          </style>
        </nodeMappings>
        <nodeMappings name="timeConstraint" domainClass="tdl.TimeConstraint">
        <nodeMappings name="timeConstraint" semanticCandidatesExpression="[allBehaviours()->select(oclIsKindOf(AtomicBehaviour)).oclAsType(AtomicBehaviour).timeConstraint/]" domainClass="tdl.TimeConstraint">
          <style xsi:type="style:SquareDescription" showIcon="false" labelExpression="['{' + serialise(timeConstraintExpression) + '}'/]" labelPosition="node" resizeKind="NSEW">
            <borderColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='white']"/>
            <labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
            <color xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='white']"/>
          </style>
        </nodeMappings>
        <nodeMappings name="timeLabel" domainClass="tdl.TimeLabel">
        <nodeMappings name="timeLabel" semanticCandidatesExpression="[allBehaviours()->select(oclIsKindOf(AtomicBehaviour)).oclAsType(AtomicBehaviour).timeLabel/]" domainClass="tdl.TimeLabel">
          <style xsi:type="style:SquareDescription" showIcon="false" labelExpression="['@ ' + name/]" labelPosition="node" resizeKind="NSEW">
            <borderColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='white']"/>
            <labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
@@ -438,7 +438,7 @@
            </style>
          </conditionnalStyles>
        </containerMappings>
        <containerMappings name="componentInstance" domainClass="tdl.ComponentInstance" childrenPresentation="List">
        <containerMappings name="componentInstance" semanticCandidatesExpression="[testConfiguration.componentInstance/]" domainClass="tdl.ComponentInstance" childrenPresentation="List">
          <subNodeMappings name="componentInstance.name" semanticCandidatesExpression="[self/]" domainClass="tdl.ComponentInstance">
            <style xsi:type="style:SquareDescription" borderSizeComputationExpression="-1" showIcon="false" labelExpression="[name + ' : ' + type.name/]" labelPosition="node" resizeKind="NSEW">
              <borderColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>