Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti and GEF Layers
Graphiti and GEF Layers [message #1027117] Tue, 26 March 2013 15:19 Go to next message
Jon Kurisu is currently offline Jon Kurisu
Messages: 3
Registered: July 2009
Junior Member
I am trying to write a Graphiti Editor that allows the user to draw shapes on different GEF Layers.

I found a way to create additional layers by extending ScalableRootEditPartAnimated and DiagramBehavior. I have not been able to find a way to allow an Add Feature to place the shape on the particular layer I just created.

Has anyone been able to create additional GEF Layers, and add shapes to that layer?

Any ideas/help would be appreciated.
Re: Graphiti and GEF Layers [message #1027689 is a reply to message #1027117] Wed, 27 March 2013 09:23 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1618
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Jon,

Graphiti hides the GEF layers from its API and unses it internally e.g. for
connection drawing. I'm afraid that will not be changeable from tool side.

Michael
Previous Topic:Select Shapes over the SelectTool
Next Topic:Drawing 2 rectangle in a rectangle
Goto Forum:
  


Current Time: Sat Oct 25 18:29:02 GMT 2014

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

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