Commit 4a2fece9 authored by Faezeh KHORRAM's avatar Faezeh KHORRAM 💬
Browse files

update .odesign file

parent 55cf44a0
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.imt.tdl.graphical.viewpoint</name>
<name>org.etsi.mts.tdl.graphical.viewpoint</name>
<comment></comment>
<projects>
</projects>
......
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.imt.tdl.graphical.viewpoint;singleton:=true
Bundle-SymbolicName: org.etsi.mts.tdl.graphical.viewpoint;singleton:=true
Bundle-Version: 0.9.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
......
<?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/sequence/description/2.0.0" xmlns:description_2="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0" xmlns:properties-ext-widgets-reference="http://www.eclipse.org/sirius/properties/1.0.0/ext/widgets/reference" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:tool="http://www.eclipse.org/sirius/diagram/sequence/description/tool/2.0.0" xmlns:tool_1="http://www.eclipse.org/sirius/description/tool/1.1.0" xmlns:tool_2="http://www.eclipse.org/sirius/diagram/description/tool/1.1.0" name="TDL" version="12.0.0.2017041100">
<ownedViewpoints name="org.etsi.mts.tdl" label="TDL">
<ownedRepresentations xsi:type="description_1:SequenceDiagramDescription" name="TestDescriptionDiagram" label="TDL Behavior" domainClass="tdl.TestDescription" enablePopupBars="true" endsOrdering="[getOccurrences()->select(e|eventEnds->includes(e))/]" instanceRolesOrdering="[testConfiguration.connection.endPoint->sortedBy(ref|ref.component.name + '.' + ref.gate.name)/]">
<ownedRepresentations xsi:type="description_1:SequenceDiagramDescription" name="TestDescriptionDiagram" label="TDL Behavior" initialisation="true" domainClass="tdl.TestDescription" enablePopupBars="true" endsOrdering="[getOccurrences()->select(e|eventEnds->includes(e))/]" instanceRolesOrdering="[testConfiguration.connection.endPoint->sortedBy(ref|ref.component.name + '.' + ref.gate.name)/]">
<metamodel href="../../org.etsi.mts.tdl.model/model/tdl.ecore#/"/>
<defaultLayer name="Default">
<nodeMappings xsi:type="description_1:InstanceRoleMapping" name="gateReference" semanticCandidatesExpression="[testConfiguration.componentInstance->collect(c|c.type.gateInstance->select(g|self.testConfiguration.connection.endPoint->exists(ref|ref.component = c and ref.gate = g))->collect(g|self.testConfiguration.connection.endPoint->any(ref|ref.component = c and ref.gate = g)))/]" domainClass="tdl.GateReference">
......@@ -870,15 +870,19 @@
<decorationDescriptions xsi:type="description_2:MappingBasedDecoration" name="Disabled breakpoint" position="WEST" preconditionExpression="service:self.hasDisabledBreakpoint" imageExpression="/org.eclipse.gemoc.executionframework.extensions.sirius/icons/breakpoint_disabled.gif" mappings="//@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@containerMappings[name='combinedBehaviour']/@subContainerMappings[name='boundedLoopBehaviour']/@subNodeMappings[name='boundedLoop.iteration'] //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@containerMappings[name='combinedBehaviour']/@subContainerMappings[name='periodicBehaviour']/@subNodeMappings[name='periodicBehaviour.iteration'] //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction'] //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='GenericDiagram']/@defaultLayer/@containerMappings[name='testDescription']"/>
</decorationDescriptionsSet>
<customization>
<vsmElementCustomizations xsi:type="description:VSMElementCustomization" predicateExpression="service:self.isCurrentInstruction()">
<featureCustomizations xsi:type="description:EReferenceCustomization" appliedOn="//@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.0/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.2/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.1/@style" referenceName="strokeColor" value="//@userColorsPalettes[name='TDL%20Behavior%20Palette']/@entries[name='current%20instruction']"/>
<vsmElementCustomizations xsi:type="description:VSMElementCustomization" predicateExpression="service:self.isCurrentInstruction">
<featureCustomizations xsi:type="description:EReferenceCustomization" appliedOn="//@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.0/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.2/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.1/@style" referenceName="strokeColor">
<value href="environment:/viewpoint#//@systemColors/@entries[name='purple']"/>
</featureCustomizations>
</vsmElementCustomizations>
</customization>
</additionalLayers>
<additionalLayers name="Animation" activeByDefault="true">
<customization>
<vsmElementCustomizations xsi:type="description:VSMElementCustomization" predicateExpression="service:self.hasBeenActivated()">
<featureCustomizations xsi:type="description:EReferenceCustomization" appliedOn="//@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.0/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.2/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.1/@style" referenceName="strokeColor" value="//@userColorsPalettes[name='TDL%20Behavior%20Palette']/@entries[name='hasBeenAnimated']"/>
<vsmElementCustomizations xsi:type="description:VSMElementCustomization" predicateExpression="service:self.hasBeenActivated">
<featureCustomizations xsi:type="description:EReferenceCustomization" appliedOn="//@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.0/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.2/@style //@ownedViewpoints[name='org.etsi.mts.tdl']/@ownedRepresentations[name='TestDescriptionDiagram']/@defaultLayer/@edgeMappings[name='interaction']/@conditionnalStyles.1/@style" referenceName="strokeColor">
<value href="environment:/viewpoint#//@systemColors/@entries[name='green']"/>
</featureCustomizations>
</vsmElementCustomizations>
</customization>
</additionalLayers>
......@@ -2032,13 +2036,9 @@
<ownedJavaExtensions qualifiedClassName="org.etsi.mts.tdl.graphical.extensions.BehaviourProvider"/>
<ownedJavaExtensions qualifiedClassName="org.etsi.mts.tdl.graphical.extensions.ModelHelper"/>
<ownedJavaExtensions qualifiedClassName="org.etsi.mts.tdl.graphical.extensions.BehaviourModifications"/>
<ownedJavaExtensions qualifiedClassName="org.imt.tdl.graphical.services.TdlDebugServices"/>
<ownedJavaExtensions qualifiedClassName="org.imt.tdl.graphical.services.TdlAnimationServices"/>
<ownedJavaExtensions qualifiedClassName="org.etsi.mts.tdl.graphical.services.TdlDebugServices"/>
<ownedJavaExtensions qualifiedClassName="org.etsi.mts.tdl.graphical.services.TdlAnimatorServices"/>
</ownedViewpoints>
<userColorsPalettes name="TDL Behavior Palette">
<entries xsi:type="description:UserFixedColor" red="255" green="255" blue="0" name="current instruction"/>
<entries xsi:type="description:UserFixedColor" red="255" green="0" blue="255" name="hasBeenAnimated"/>
</userColorsPalettes>
<extensions xsi:type="properties:ViewExtensionDescription" name="org.eclipse.sirius.ui.properties">
<categories name="Default">
<pages name="org.eclipse.sirius.ui.properties.defaultpage" labelExpression="aql:self.className()" semanticCandidateExpression="aql:input.getAllSemanticElements()" groups="//@extensions.0/@categories.0/@groups.1 //@extensions.0/@categories.0/@groups.2 //@extensions.0/@categories.0/@groups.3 //@extensions.0/@categories.0/@groups.4 //@extensions.0/@categories.0/@groups.5 //@extensions.0/@categories.0/@groups.6 //@extensions.0/@categories.0/@groups.8 //@extensions.0/@categories.0/@groups.7 //@extensions.0/@categories.0/@groups.9 //@extensions.0/@categories.0/@groups.10 //@extensions.0/@categories.0/@groups.0"/>
......
......@@ -8,7 +8,7 @@
* Contributors:
* Inria - initial API and implementation
*******************************************************************************/
package org.imt.tdl.graphical.services;
package org.etsi.mts.tdl.graphical.services;
import java.util.ArrayList;
......@@ -22,7 +22,7 @@ public class TdlAnimatorServices extends AbstractGemocAnimatorServices {
@Override
protected List<StringCouple> getRepresentationRefreshList() { // <1>
final List<StringCouple> res = new ArrayList<StringCouple>();
res.add(new StringCouple("TDL", "Animation"));
res.add(new StringCouple("TestDescriptionDiagram", "Animation"));
return res;
}
}
......
......@@ -8,7 +8,7 @@
* Contributors:
* Inria - initial API and implementation
*******************************************************************************/
package org.imt.tdl.graphical.services;
package org.etsi.mts.tdl.graphical.services;
import java.util.ArrayList;
import java.util.List;
......@@ -29,7 +29,7 @@ public class TdlDebugServices extends AbstractGemocDebuggerServices {
// - the second String is the id of the Layer
final List<StringCouple> res = new ArrayList<StringCouple>();
res.add(new StringCouple("TDL", "Debug"));
res.add(new StringCouple("TestDescriptionDiagram", "Debug"));
return res;
}
......
......@@ -13,7 +13,7 @@ import org.osgi.framework.BundleContext;
*/
public class Activator extends AbstractUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "org.imt.tdl.graphical.viewpoint";
public static final String PLUGIN_ID = "org.etsi.mts.tdl.graphical.viewpoint";
// The shared instance
private static Activator plugin;
......
package org.etsi.mts.tdl.graphical.viewpoint;
import org.eclipse.emf.ecore.EObject;
/**
* The services class used by VSM.
*/
public class Services {
/**
* See http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.sirius.doc%2Fdoc%2Findex.html&cp=24 for documentation on how to write service methods.
*/
public EObject myService(EObject self, String arg) {
// TODO Auto-generated code
return self;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment