Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Utilizing Graphiti Diagrams(Utilize Graphiti figures in GEF)
Utilizing Graphiti Diagrams [message #989341] Wed, 05 December 2012 17:34 Go to next message
John Mark is currently offline John MarkFriend
Messages: 12
Registered: November 2012
Junior Member
Hello.
I have a EMF/GEF based modelling tool. Now for some reason I cannot utilize Graphiti as I would have to rewrite my complete tool.

Now the question I have is can I just utilize the Graphiti diagrams like (RoundedRectangle etc) instead of the Draw2D figures I am currently using.

Is there a way I can initialize/extract Draw2D figures from the Graphiti node?

Re: Utilizing Graphiti Diagrams [message #989422 is a reply to message #989341] Thu, 06 December 2012 07:55 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1635
Registered: July 2009
Location: Walldorf, Germany
Senior Member
John,

the Graphiti shapes are not part of the API, but technically it would be
possible to use them...

The question is what you would like to achieve by doing that? The Graphiti
shapes are build to be used within the framework and I'm not sure which
effects you might get while trying to use them elsewhere.

Michael
Re: Utilizing Graphiti Diagrams [message #990131 is a reply to message #989422] Tue, 11 December 2012 03:16 Go to previous messageGo to next message
John Mark is currently offline John MarkFriend
Messages: 12
Registered: November 2012
Junior Member
Well I already Have my Modeler in place but I would be interested in introducing the Graphiti style ContextMenus.
Re: Utilizing Graphiti Diagrams [message #990714 is a reply to message #990131] Thu, 13 December 2012 12:51 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1635
Registered: July 2009
Location: Walldorf, Germany
Senior Member
I'm afraid that will be quite hard to extract...

Michael
Previous Topic:DirectEditing in BoxRelativeAnchor
Next Topic:Automatic refresh of the diagram editor at runtime
Goto Forum:
  


Current Time: Thu Nov 27 14:54:16 GMT 2014

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

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