Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » new Diagram(Creating and opening a diagram programmatically)
new Diagram [message #1001954] Thu, 17 January 2013 15:55 Go to next message
Juliane Mueller is currently offline Juliane MuellerFriend
Messages: 30
Registered: August 2011
Dear all,

I want to create a resource for a new graphiti diagram, and open it programmatically.
I know this is possible, but I don't found any example or tutorial.
Do you know a good example or a kind of solution?

Regards, Juliane
Re: new Diagram [message #1001972 is a reply to message #1001954] Thu, 17 January 2013 16:21 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1894
Registered: July 2009
Location: Walldorf, Germany
Senior Member

there's an example of this in the tutorial, see the two classes in this

(They define an command and its handler that create a new diagram containing
all EClasses in the project. It's registered as a context menu function on
the Classes node in the project explorer in plugin.xml.)

Previous Topic:AutoUpdate Text associated to a ConnectionDecorator
Next Topic:Custom Save
Goto Forum:

Current Time: Fri Jun 22 02:01:52 GMT 2018

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

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

Back to the top