Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » May I set a LayoutManager for the PRIMARY_LAYER in ScalableFreeformRootEditPart?
May I set a LayoutManager for the PRIMARY_LAYER in ScalableFreeformRootEditPart? [message #222321] Wed, 30 August 2006 16:09
Andreas Werner is currently offline Andreas WernerFriend
Messages: 55
Registered: July 2009
Member
Hi,

is it ok to set a LayoutManager for the primary layer in
ScalableFreeformRootEditPart like this:

// TODO: This okay??
@Override
protected LayeredPane createPrintableLayers() {
LayeredPane pane = super.createPrintableLayers();

pane.getLayer(PRIMARY_LAYER).setLayoutManager(new XYLayout());

return pane;
}

Thanks, Andreas
Previous Topic:Refreshing connections
Next Topic:Uncorrect parent-child relationship in editpart hierarchy
Goto Forum:
  


Current Time: Thu Jan 16 23:16:18 GMT 2025

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

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

Back to the top