use of org.whole.lang.xsi.ui.figures.XsiCompositeElementNodeFigure in project whole by wholeplatform.
the class XsiCompositeElementPart method createFigure.
@Override
protected IFigure createFigure() {
boolean startOpened = !getContents().isEmpty();
IEntityFigure figure = new XsiCompositeElementNodeFigure(startOpened, createLabel());
if (isRoot)
figure.setBorder(new MarginBorder(4, 8, 2, 4));
return figure;
}
Aggregations