Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Generate an image from BPMN file using a java program. (Generate an image from BPMN file using a java program. )
Generate an image from BPMN file using a java program. [message #1173785] Wed, 06 November 2013 14:09 Go to next message
ANTONIO MENDOZA is currently offline ANTONIO MENDOZA
Messages: 2
Registered: November 2013
Junior Member
Hi,
I've generated a BPMN file with Eclipse BPMN Modeler and now I'd like to obtain the image from this file.

Is there any tool or function I can use to do that?
Thanks,
Re: Generate an image from BPMN file using a java program. [message #1174344 is a reply to message #1173785] Wed, 06 November 2013 22:44 Go to previous messageGo to next message
Robert Brodt is currently offline Robert Brodt
Messages: 539
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Yes, try right-click on the canvas and then "Export Diagram..." Smile

Cheers,
Bob
Re: Generate an image from BPMN file using a java program. [message #1174472 is a reply to message #1174344] Thu, 07 November 2013 00:44 Go to previous messageGo to next message
ANTONIO MENDOZA is currently offline ANTONIO MENDOZA
Messages: 2
Registered: November 2013
Junior Member
Thanks Robert,

I mean if it is possible do it outside of eclipse, if there is any function than I can execute into my java app.

Something like:
byte[] img = Transformation.bpmnToImage(byte[] bpmFile);


Thanks.
Re: Generate an image from BPMN file using a java program. [message #1178265 is a reply to message #1174472] Sat, 09 November 2013 09:19 Go to previous message
Robert Brodt is currently offline Robert Brodt
Messages: 539
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

The image export functionality is provided by Graphiti, so unless you import the entire BPMN2 Modeler plug-in and all of its dependencies into your code, I don't think there's an easy solution.
Previous Topic:how to add a new attribute to the bpmn2 model without any extension
Next Topic:BPMN2 Modeler Graduation and 1.0 Release Review
Goto Forum:
  


Current Time: Thu Apr 17 08:32:30 EDT 2014

Powered by FUDForum. Page generated in 0.01558 seconds