Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BPMN Modeler » editing / creating diagrams
editing / creating diagrams [message #503828] Tue, 15 December 2009 22:38 Go to next message
Daniel  is currently offline Daniel Friend
Messages: 2
Registered: December 2009
Junior Member
Hi all,

atm im working on transformating bpmn diagrams to
ontologies. until now i only had to read from existing diagrams and analyze / transform data, which worked pretty good.

but now, i would like to edit and transform existing diagrams
for example add new activities, create new sequence edges etc.

in my current import
import org.eclipse.stp.bpmn.*;
i couldnt find any functions to create stuff or add it to a diagram.

i know there is an example but i didnt really get the point of it.

i would be very thankful if someone could post me an
easy example how to create a new activity and add it to a diagram.

do i need any aditional includes?

thanks for your help Smile


daniel
Re: editing / creating diagrams [message #504117 is a reply to message #503828] Thu, 17 December 2009 10:58 Go to previous message
Daniel  is currently offline Daniel Friend
Messages: 2
Registered: December 2009
Junior Member
the answer is:

BpmnFactory.eINSTANCE.createActivity();

andf to add: pool.getVertices().add(activity);

ty anyway
Previous Topic:Any plans to support BPMN2
Next Topic:Problem with lanes
Goto Forum:
  


Current Time: Tue Mar 19 03:15:59 GMT 2024

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

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

Back to the top