Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Delete SequenceFlow
Delete SequenceFlow [message #1424901] Tue, 16 September 2014 15:31 Go to next message
Marcelo F. Terenciani is currently offline Marcelo F. TerencianiFriend
Messages: 10
Registered: April 2014
Junior Member
Hi everyone,

How do I can to delete all SequenceFlows (outgoins), when I set a especific propertie in a Task? And.. How to refresh the model?

I have a SequenceFlow list when I set the property, but not is possible to delete the elements of the model.

Cheers,
Marcelo
Re: Delete SequenceFlow [message #1427032 is a reply to message #1424901] Fri, 19 September 2014 15:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

You will have to provide an Update Feature for your Custom Task extension. This should delete the SequenceFlows during the update() method and the viewer will be refreshed automatically.
Re: Delete SequenceFlow [message #1427125 is a reply to message #1427032] Fri, 19 September 2014 18:54 Go to previous messageGo to next message
Marcelo F. Terenciani is currently offline Marcelo F. TerencianiFriend
Messages: 10
Registered: April 2014
Junior Member
Thanks Bob,

I'm using EcoreUtil.delete (SequenceFlow) method to delete the SequenceFlow. Is this right?

Cheers,
Marcelo

Re: Delete SequenceFlow [message #1428245 is a reply to message #1427125] Sun, 21 September 2014 14:27 Go to previous message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

You should use a DeleteFeature so that the graphiti visual elements are properly refreshed. See DefaultDeleteBPMNShapeFeature.
Previous Topic:Reading .bpmn (2.0) files into Java program
Next Topic:MessageFlow in BPMN 2.0 Modeler
Goto Forum:
  


Current Time: Thu Mar 28 13:08:21 GMT 2024

Powered by FUDForum. Page generated in 0.04636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top