Skip to main content



      Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Delete SequenceFlow
Delete SequenceFlow [message #1424901] Tue, 16 September 2014 11:31 Go to next message
Eclipse UserFriend
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 11:41 Go to previous messageGo to next message
Eclipse UserFriend
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 14:54 Go to previous messageGo to next message
Eclipse UserFriend
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 10:27 Go to previous message
Eclipse UserFriend
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: Wed Jul 16 14:36:11 EDT 2025

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

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

Back to the top