From 5ffdefb497e0b878e3f49808067491e9993bba26 Mon Sep 17 00:00:00 2001 From: Géry Deloge Date: Fri, 18 Nov 2016 10:59:49 +0100 Subject: Bug 507675: [BPMN] Data Input / Data Output for Activities Change-Id: I856518a302e9e3472aaa5120c0ec009f9c57d9a9 Signed-off-by: Géry Deloge --- .../model/collaboration.paletteConfiguration | 36 +++++++++++++++---- .../css/style.css | 39 +++++++++++++++++---- .../model/process.paletteConfiguration | 34 ++++++++++++++---- .../model/BpmnNewChildMenu.xmi | 8 +++++ .../icons/DataInputActivity.png | Bin 0 -> 1269 bytes .../icons/DataOutputActivity.png | Bin 0 -> 1257 bytes 6 files changed, 98 insertions(+), 19 deletions(-) create mode 100644 extraplugins/bpmn/org.eclipse.papyrus.bpmn/icons/DataInputActivity.png create mode 100644 extraplugins/bpmn/org.eclipse.papyrus.bpmn/icons/DataOutputActivity.png (limited to 'extraplugins') diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/model/collaboration.paletteConfiguration b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/model/collaboration.paletteConfiguration index e499bd0adcb..e803ae8bc3d 100644 --- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/model/collaboration.paletteConfiguration +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.collaboration/model/collaboration.paletteConfiguration @@ -348,9 +348,9 @@ + id="bpmn.collaboration.dataInputTask.tool" + label="Data Input (Task)" + description="Data Input (Task)"> @@ -359,14 +359,36 @@ + id="bpmn.collaboration.dataOutputTask.tool" + label="Data Output (Task)" + description="Data Output (Task)"> + elementTypeId="org.eclipse.papyrus.bpmn.collaboration.DataOutput_OutputPin_3014"/> + + + + + + + + Compartment[kind="symbol"] { maskLabel: stereotype; } -[appliedStereotypes~="BPMNProfile::DataInput"] -{ - fillColor: white; - maskLabel: stereotype; - transparency: 0 -} [appliedStereotypes~="BPMNProfile::GlobalTask"] { @@ -376,3 +370,36 @@ alternateBorderColor path{ [appliedStereotypes~="BPMNProfile::Lane"] > Compartment[kind="symbol"] { visible: false; } + + +ActivityParameterNode[appliedStereotypes~="BPMNProfile::DataOutput"] { + transparency:0.0; + lineWidth:2.0; + elementIcon:false; +} + +ActivityParameterNode[appliedStereotypes~="BPMNProfile::DataInput"] { + transparency:0.0; + lineWidth:1.0; + elementIcon:false; +} + +[appliedStereotypes~="BPMNProfile::DataInput"] > Label { + visible:false; +} + +[appliedStereotypes~="BPMNProfile::DataOutput"] > Label { + visible:false; +} + +[appliedStereotypes~="BPMNProfile::SequenceFlow"] > Label{ + visible:false; +} + +[appliedStereotypes~="BPMNProfile::StartEvent"] > Label{ + visible:false; +} + +[appliedStereotypes~="BPMNProfile::EndEvent"] > Label{ + visible:false; +} \ No newline at end of file diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/model/process.paletteConfiguration b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/model/process.paletteConfiguration index 9b2fabba20b..1488051d523 100644 --- a/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/model/process.paletteConfiguration +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn.diagram.process/model/process.paletteConfiguration @@ -348,9 +348,9 @@ + id="bpmn.process.dataInputTask.tool" + label="Data Input (Task)" + description="Data Input (Task)"> @@ -359,15 +359,37 @@ + id="bpmn.process.dataOutputTask.tool" + label="Data Output (Task)" + description="Data Output (Task)"> + + + + + + + + + +