Skip to main content


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 MENDOZAFriend
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 BrodtFriend
Messages: 811
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 MENDOZAFriend
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 BrodtFriend
Messages: 811
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 wirtzFriend
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:BPMN2 Modeler Graduation and 1.0 Release Review
Next Topic:How do I execute my BPMN2 process
Goto Forum:
  


Current Time: Fri Apr 19 16:28:03 GMT 2024

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

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

Back to the top