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 11: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 05:23 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1571
Registered: July 2009
Location: Walldorf, Germany
Senior Member

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.

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

Current Time: Fri Jul 25 05:12:44 EDT 2014

Powered by FUDForum. Page generated in 0.01511 seconds