Search in sources :

Example 1 with UnderLeftLayout

use of org.whole.lang.ui.layout.UnderLeftLayout in project whole by wholeplatform.

the class FeatureFigureWithAttributes method initFigure.

@Override
protected void initFigure() {
    initContentPanes(3);
    EntityFigure headerFigure = new EntityFigure(new RowLayout().withSpacing(4).withMarginLeft(12));
    headerFigure.add(createContentPane(0));
    headerFigure.add(createFoldingToggle(2));
    shapeFigure = new EntityFigure(new UnderLeftLayout().withSpacing(2));
    shapeFigure.add(headerFigure);
    shapeFigure.add(createContentPane(1));
    add(shapeFigure);
    add(createContentPane(2));
}
Also used : UnderLeftLayout(org.whole.lang.ui.layout.UnderLeftLayout) EntityFigure(org.whole.lang.ui.figures.EntityFigure) RowLayout(org.whole.lang.ui.layout.RowLayout)

Aggregations

EntityFigure (org.whole.lang.ui.figures.EntityFigure)1 RowLayout (org.whole.lang.ui.layout.RowLayout)1 UnderLeftLayout (org.whole.lang.ui.layout.UnderLeftLayout)1