Skip to main content



      Home
Home » Archived » BPMN Modeler » copying BPMNDiagram
copying BPMNDiagram [message #509654] Sun, 24 January 2010 05:39
Eclipse UserFriend
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: Thu Jul 10 00:15:54 EDT 2025

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

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

Back to the top