use of org.eclipse.draw2d.FreeformLayer in project tdi-studio-se by Talend.
the class ProcessPart method createFigure.
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
*/
@Override
protected IFigure createFigure() {
Figure figure = new FreeformLayer();
figure.setLayoutManager(new FreeformLayout());
fig2 = new FreeformLayer();
getLayer(TalendScalableFreeformRootEditPart.PROCESS_BACKGROUND_LAYER).add(fig2);
ajustReadOnly();
// connLayer.setConnectionRouter(new NullRouter());
return figure;
}
use of org.eclipse.draw2d.FreeformLayer 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;
}
use of org.eclipse.draw2d.FreeformLayer 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;
}
use of org.eclipse.draw2d.FreeformLayer in project dbeaver by dbeaver.
the class LockGraphEditPart method createFigure.
@Override
protected IFigure createFigure() {
FreeformLayer freeformLayer = new FreeformLayer();
freeformLayer.setLayoutManager(new GridLayout(((LockGraph) getModel()).getMaxWidth(), true));
return freeformLayer;
}
use of org.eclipse.draw2d.FreeformLayer in project archi by archimatetool.
the class ScalableFreeformRootEditPart method createLayers.
/**
* @see FreeformGraphicalRootEditPart#createLayers(LayeredPane)
*/
@Override
protected void createLayers(LayeredPane layeredPane) {
layeredPane.add(getScaledLayers(), SCALABLE_LAYERS);
layeredPane.add(new FreeformLayer(), HANDLE_LAYER);
layeredPane.add(new FeedbackLayer(), FEEDBACK_LAYER);
layeredPane.add(new GuideLayer(), GUIDE_LAYER);
}
Aggregations