Skip to main content



      Home
Home » Modeling » Papyrus » Create UML diagram programmatically without any UI
Create UML diagram programmatically without any UI [message #1222361] Fri, 20 December 2013 03:45 Go to next message
Eclipse UserFriend
Hi

Is it possible to create an UML diagram in a standalone Java application? Could you point me out, where to start?
Re: Create UML diagram programmatically without any UI [message #1222364 is a reply to message #1222361] Fri, 20 December 2013 03:51 Go to previous messageGo to next message
Eclipse UserFriend
I don't need any editing or viewing capabilities. I need only to create a diagram and save it as an image-file (png, jpg, ...).
Re: Create UML diagram programmatically without any UI [message #1222402 is a reply to message #1222364] Fri, 20 December 2013 05:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Denis,


Papyrus has not been designed to work outside Eclipse. We use way too many extension points. So, Papyrus cannot be used in a standalone Java application.


Regards,
Camille
Re: Create UML diagram programmatically without any UI [message #1222479 is a reply to message #1222361] Fri, 20 December 2013 09:27 Go to previous message
Eclipse UserFriend
Hi

It's certainly possible.

The UML tutorials explain how to create a UML model.

Then you need to import is as a diagram and lay it out. With luck you
can use the code that lies behind Papyrus actions.

Then you need to save it as SVG. Again use Papyrus code.

In principle you only need small parts of Papyrus, but as Camille points
out Papyrus has not been designed for standalone usage, so you can
expect to have a fairly exciting time stubbing out irrelevant problem
functionality.

Regards

Ed Willink

On 20/12/2013 08:45, Denis Nikiforov wrote:
> Hi
>
> Is it possible to create an UML diagram in a standalone Java
> application? Could you point me out, where to start?
Previous Topic:How to reload a Papyrus model?
Next Topic:Papyrus and Subversive doesn't play well
Goto Forum:
  


Current Time: Mon Jul 07 06:49:39 EDT 2025

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

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

Back to the top