Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Cadavid2015-10-22 17:16:50 -0400
committerJuan Cadavid2015-10-22 17:27:36 -0400
commit49bddfa3b6ee9106c9f796f43d9b435323a9379f (patch)
tree371f77913b13e5eccd2329c4f703406403137004 /extraplugins/bpmn/org.eclipse.papyrus.bpmn
parentf2e18f069b181170b97c0ff3930f7e378d80f4cb (diff)
downloadorg.eclipse.papyrus-49bddfa3b6ee9106c9f796f43d9b435323a9379f.tar.gz
org.eclipse.papyrus-49bddfa3b6ee9106c9f796f43d9b435323a9379f.tar.xz
org.eclipse.papyrus-49bddfa3b6ee9106c9f796f43d9b435323a9379f.zip
[BPMN] Implementation of generic "Task" element with no special type
Refactoring of semantic and graphic ElementTypes Signed-off-by: Juan Cadavid <juan.cadavid@cea.fr>
Diffstat (limited to 'extraplugins/bpmn/org.eclipse.papyrus.bpmn')
-rw-r--r--extraplugins/bpmn/org.eclipse.papyrus.bpmn/model/customBpmn.elementtypesconfigurations43
-rw-r--r--extraplugins/bpmn/org.eclipse.papyrus.bpmn/plugin.xml7
2 files changed, 50 insertions, 0 deletions
diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn/model/customBpmn.elementtypesconfigurations b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/model/customBpmn.elementtypesconfigurations
new file mode 100644
index 00000000000..62dc14a5b47
--- /dev/null
+++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/model/customBpmn.elementtypesconfigurations
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<elementtypesconfigurations:ElementTypeSetConfiguration
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0"
+ xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0"
+ xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration"
+ xmi:id="_ulgXkAkFEeWVleXnap4Kwg"
+ name="BPMNProfile"
+ identifier="org.eclipse.papyrus.bpmn.customElementTypeSet"
+ metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
+ <elementTypeConfigurations
+ xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
+ xmi:id="_ulhBugkFEeWVleXnap4Kwg1"
+ name="Task Action"
+ identifier="org.eclipse.papyrus.bpmn.Task_OpaqueAction"
+ hint="UML::Action">
+ <iconEntry
+ xmi:id="_ulhBuwkFEeWVleXnap4Kwg2"
+ iconPath="/icons/full/obj16/Action.gif"
+ bundleId="org.eclipse.uml2.uml.edit"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.OpaqueAction</specializedTypesID>
+ <matcherConfiguration
+ xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration"
+ xmi:id="_ulhBvAkFEeWVleXnap4Kwg1">
+ <stereotypesQualifiedNames>BPMNProfile::Task</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations
+ xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
+ xmi:id="_ulhCCwkFEeWVleXnap4Kwg5"
+ name="Apply InclusiveGateway"
+ identifier="org.eclipse.papyrus.bpmn.task"
+ target="_ulhBugkFEeWVleXnap4Kwg1">
+ <stereotypesToApply
+ xmi:id="_ulhCDAkFEeWVleXnap4Kwg6"
+ stereotypeQualifiedName="BPMNProfile::Task"
+ updateName="true">
+ <requiredProfiles>BPMNProfile</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn/plugin.xml b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/plugin.xml
index 5eef53d7391..00b5966d971 100644
--- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn/plugin.xml
+++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/plugin.xml
@@ -41,6 +41,13 @@
</elementTypeSet>
</extension>
<extension
+ point="org.eclipse.papyrus.infra.elementtypesconfigurations.elementTypeSetConfiguration">
+ <elementTypeSet
+ id="org.eclipse.papyrus.bpmn.customElementTypeSet"
+ path="model/customBpmn.elementtypesconfigurations">
+ </elementTypeSet>
+ </extension>
+ <extension
point="org.eclipse.papyrus.views.properties.context">
<context
contextModel="properties/bpmn.ctx"

Back to the top