Skip to main content



      Home
Home » Archived » BPMN Modeler » editing / creating diagrams
editing / creating diagrams [message #503828] Tue, 15 December 2009 17:38 Go to next message
Eclipse UserFriend
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 05:58 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 22:53:01 EDT 2025

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

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

Back to the top