use of org.eclipse.draw2d.FreeformLayout in project archi by archimatetool.
the class Graph method createLayers.
private ScalableFigure createLayers() {
rootlayer = new ScalableFreeformLayeredPane();
rootlayer.setLayoutManager(new FreeformLayout());
zestRootLayer = new ZestRootLayer();
zestRootLayer.setLayoutManager(new FreeformLayout());
fishEyeLayer = new ScalableFreeformLayeredPane();
fishEyeLayer.setLayoutManager(new FreeformLayout());
rootlayer.add(zestRootLayer);
rootlayer.add(fishEyeLayer);
zestRootLayer.addLayoutListener(LayoutAnimator.getDefault());
fishEyeLayer.addLayoutListener(LayoutAnimator.getDefault());
return rootlayer;
}
Aggregations