Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Connection Layer on the back
Connection Layer on the back [message #989678] Fri, 07 December 2012 09:49 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 530
Registered: June 2011
Senior Member
Hi,

I would like to send my connection to the back so all my editparts should be on top of connection. I am using following code

class CustomRootEditPart extends ScalableFreeformRootEditPart {
@Override
protected LayeredPane createPrintableLayers() {
FreeformLayeredPane layeredPane = new FreeformLayeredPane();
layeredPane.add(new ConnectionLayer(), CONNECTION_LAYER);
layeredPane.add(new FreeformLayer(), PRIMARY_LAYER);
System.out.println("Connect layer added first");
return layeredPane;
}
}

but it makes all connections hidden.
Is there any other alternate available to send connections on the back and bring editparts on the top?

cheers,
Re: Connection Layer on the back [message #989693 is a reply to message #989678] Fri, 07 December 2012 10:31 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
That's probably because the contents of the primary layer is an opaque figure.
Re: Connection Layer on the back [message #989718 is a reply to message #989693] Fri, 07 December 2012 12:24 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 530
Registered: June 2011
Senior Member
thanks!
Previous Topic:Separate view model and business model
Next Topic:FlowlayoutEditPolicy
Goto Forum:
  


Current Time: Wed Dec 17 20:07:43 GMT 2014

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

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