Search in sources :

Example 1 with FreeformLayeredPane

use of org.eclipse.draw2d.FreeformLayeredPane in project cubrid-manager by CUBRID.

the class ERScalableFreeformRootEditPart method createFigure.

protected IFigure createFigure() {
    ERFreeformViewport viewport = new ERFreeformViewport();
    innerLayers = new FreeformLayeredPane();
    createLayers(innerLayers);
    viewport.setContents(innerLayers);
    return viewport;
}
Also used : FreeformLayeredPane(org.eclipse.draw2d.FreeformLayeredPane)

Example 2 with FreeformLayeredPane

use of org.eclipse.draw2d.FreeformLayeredPane in project tdi-studio-se by Talend.

the class TalendScalableFreeformRootEditPart method createPrintableLayers.

@Override
protected LayeredPane createPrintableLayers() {
    FreeformLayeredPane layeredPane = new FreeformLayeredPane();
    layeredPane.add(new FreeformLayer(), PRIMARY_LAYER);
    layeredPane.add(new ConnectionLayer(), CONNECTION_LAYER);
    return layeredPane;
}
Also used : ScalableFreeformLayeredPane(org.eclipse.draw2d.ScalableFreeformLayeredPane) FreeformLayeredPane(org.eclipse.draw2d.FreeformLayeredPane) FreeformLayer(org.eclipse.draw2d.FreeformLayer) ConnectionLayer(org.eclipse.draw2d.ConnectionLayer)

Example 3 with FreeformLayeredPane

use of org.eclipse.draw2d.FreeformLayeredPane in project tdi-studio-se by Talend.

the class ErDiagramRootEditPart method createPrintableLayers.

@Override
protected LayeredPane createPrintableLayers() {
    FreeformLayeredPane layeredPane = new FreeformLayeredPane();
    layeredPane.add(new ConnectionLayer(), CONNECTION_LAYER);
    layeredPane.add(new FreeformLayer(), PRIMARY_LAYER);
    return layeredPane;
}
Also used : ScalableFreeformLayeredPane(org.eclipse.draw2d.ScalableFreeformLayeredPane) FreeformLayeredPane(org.eclipse.draw2d.FreeformLayeredPane) FreeformLayer(org.eclipse.draw2d.FreeformLayer) ConnectionLayer(org.eclipse.draw2d.ConnectionLayer)

Aggregations

FreeformLayeredPane (org.eclipse.draw2d.FreeformLayeredPane)3 ConnectionLayer (org.eclipse.draw2d.ConnectionLayer)2 FreeformLayer (org.eclipse.draw2d.FreeformLayer)2 ScalableFreeformLayeredPane (org.eclipse.draw2d.ScalableFreeformLayeredPane)2