Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BPMN Modeler » copying BPMNDiagram
copying BPMNDiagram [message #509654] Sun, 24 January 2010 10:39
R.Afonso is currently offline R.AfonsoFriend
Messages: 10
Registered: December 2009
Junior Member
I´m trying to copy an element ofrom a BPMNDiagram (a whole pool with all its content) into another BPMNDiagram, programatically.

The source one is taken from a .bpmn file an the new one is going to be created in a new resource.

But if I do:

target.getPools().add (source.getPools().get[0])

nothing happens (and yes, the source has one Pool).

So is this the way to go? another for doing this?
The worst case I guess is to have to read element-by-element from the source and create the element in the target.

Previous Topic:Problem with lanes
Next Topic:Generating empty bpmn file, xmi:id missing?
Goto Forum:

Current Time: Tue Jul 14 23:52:41 GMT 2020

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

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

Back to the top