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.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!
Previous Topic:Problem with lanes
Next Topic:Generating empty bpmn file, xmi:id missing?
Goto Forum:
  


Current Time: Sat Oct 25 22:15:08 GMT 2014

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

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