use of org.yakindu.sct.ui.editor.editor.figures.SynchronizationFigure in project statecharts by Yakindu.
the class SynchronizationEditPart method createNodeFigure.
@Override
protected NodeFigure createNodeFigure() {
final DefaultSizeNodeFigure nodeFigure = new DefaultSizeNodeFigure(getMapMode().DPtoLP(DEFAULT_WIDTH), getMapMode().DPtoLP(DEFAULT_HEIGHT));
nodeFigure.setLayoutManager(new StackLayout());
nodeFigure.add(new SynchronizationFigure(getMapMode()));
nodeFigure.setForegroundColor(ColorConstants.black);
nodeFigure.setBackgroundColor(ColorConstants.black);
return nodeFigure;
}
Aggregations