Search in sources :

Example 1 with CurlyBracketsBorder

use of org.whole.lang.ui.figures.CurlyBracketsBorder in project whole by wholeplatform.

the class SequencePart method createFigure.

protected IFigure createFigure() {
    IFigure figure = new CompositeFigure(new ColumnLayout().withMarginTop(5).withMarginBottom(5).withSpacing(13));
    figure.setBorder(new CurlyBracketsBorder());
    return figure;
}
Also used : CompositeFigure(org.whole.lang.ui.figures.CompositeFigure) CurlyBracketsBorder(org.whole.lang.ui.figures.CurlyBracketsBorder) ColumnLayout(org.whole.lang.ui.layout.ColumnLayout) IFigure(org.eclipse.draw2d.IFigure)

Aggregations

IFigure (org.eclipse.draw2d.IFigure)1 CompositeFigure (org.whole.lang.ui.figures.CompositeFigure)1 CurlyBracketsBorder (org.whole.lang.ui.figures.CurlyBracketsBorder)1 ColumnLayout (org.whole.lang.ui.layout.ColumnLayout)1