Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355659 - Property Editor: Call Activity
Summary: Property Editor: Call Activity
Status: RESOLVED FIXED
Alias: None
Product: BPMN2Modeler
Classification: SOA
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Robert Brodt CLA
QA Contact:
URL: https://issues.jboss.org/browse/JBPM-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 06:33 EDT by Robert Brodt CLA
Modified: 2012-03-01 09:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Brodt CLA 2011-08-24 06:33:31 EDT
Create a custom property editor (implemented either as a popup dialog or a Property Sheet Tab) for Call activity (reusable sub-process).

-> independent* and waitForCompletion* are boolean: dropdown true/false or checkbox
-> data input / output mapping


Brian Fitzpatrick added a comment - 22/Aug/11 1:44 PM

Based on the EMF model and the BPMN2 specification, it appears that:

    Data input/output mapping should happen the same as it works with the SequenceFlow for inputs and outputs
    waitForCompletion is apparently in CompsensateEventDefinition, so the boundary events (getBoundaryEventRefs() on the CallActivity) should enable us to grab those and display the properties from those


Brian Fitzpatrick added a comment - 22/Aug/11 4:42 PM - edited

Ok, after doing some more digging in the EMF models for BPMN2...

1. I'm going to do a two-pronged approach and create an extensible property page for generic Activity objects and then extend it for Call Activity. This ensures that if additional custom Activities get added in the future, we have a model to follow for consistency.

2. My initial thoughts appear to be wrong about where to get the data input and output mappings from. Instead of from the lists of DataInputAssociation and DataOutputAssociation objects, it looks like the InputOutputSpecification object available through getIoSpecification() will offer the right list of DataInputs and Outputs and data sets.

3. It appears that to get to the waitForCompletion kinds of settings, we need to go through the BoundaryEvents to get the list of EventDefinitions to see if any of those has properties to set (like CompensateEventDefinition, which has waitForCompletion).
Comment 1 Robert Brodt CLA 2012-03-01 09:49:11 EST
Fixed