use of org.eclipse.draw2d.FreeformLayer in project cubrid-manager by CUBRID.
the class DiagramPart method createFigure.
/**
* @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
* @return figure
*/
protected IFigure createFigure() {
Figure figure = new FreeformLayer();
figure.setLayoutManager(new FreeformLayout());
return figure;
}
use of org.eclipse.draw2d.FreeformLayer in project cubrid-manager by CUBRID.
the class DashboardPart method createFigure.
/**
* create a new figure used by DashboardPart
*
* @return FreeformLayer with FreeformLayout
*/
protected IFigure createFigure() {
Figure figure = new FreeformLayer();
figure.setLayoutManager(new FreeformLayout());
return figure;
}
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 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;
}
Aggregations