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 19: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] Thu, 07 November 2013 03:44 Go to previous messageGo to next message
Robert Brodt is currently offline Robert Brodt
Messages: 601
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 05: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 14:19 Go to previous messageGo to next message
Robert Brodt is currently offline Robert Brodt
Messages: 601
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.
Re: Generate an image from BPMN file using a java program. [message #1319796 is a reply to message #1178265] Mon, 28 April 2014 11:45 Go to previous message
benjamin wirtz is currently offline benjamin wirtz
Messages: 1
Registered: April 2014
Junior Member
Hi, you can use the org.jboss.bpm.console.server.plugin.GraphViewerPlugin to generate Image form your Process in jbpm and the current state.

 byte[] getProcessImage(String processId);
Previous Topic:Custom Task and Append button
Next Topic:BPMN 2.0 Metamodel
Goto Forum:
  


Current Time: Sat Sep 20 14:03:54 GMT 2014

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

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