| copying BPMNDiagram [message #509654] |
Sun, 24 January 2010 05:39 |
R.Afonso Messages: 10 Registered: December 2009 |
Junior Member |
|
|
Hi,
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.
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.02495 seconds