Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Create UML diagram programmatically without any UI
Create UML diagram programmatically without any UI [message #1222361] Fri, 20 December 2013 08:45 Go to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 344
Registered: August 2013
Senior Member
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 08:51 Go to previous messageGo to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 344
Registered: August 2013
Senior Member
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 10:29 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
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


Camille Letavernier
Re: Create UML diagram programmatically without any UI [message #1222479 is a reply to message #1222361] Fri, 20 December 2013 14:27 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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: Thu Apr 25 00:26:12 GMT 2024

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

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

Back to the top