Search in sources :

Example 1 with BlockBracketsBorder

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

the class BlockPart method createFigure.

protected IFigure createFigure() {
    IFigure figure = new // StringSeparatedCompositeColumnFigure("",
    CompositeFigure(new OverColumnLayout().withMarginTop(5).withMarginBottom(5).withSpacing(13));
    figure.setBorder(new BlockBracketsBorder());
    return figure;
}
Also used : CompositeFigure(org.whole.lang.ui.figures.CompositeFigure) OverColumnLayout(org.whole.lang.ui.layout.OverColumnLayout) BlockBracketsBorder(org.whole.lang.queries.ui.figures.BlockBracketsBorder) IFigure(org.eclipse.draw2d.IFigure)

Aggregations

IFigure (org.eclipse.draw2d.IFigure)1 BlockBracketsBorder (org.whole.lang.queries.ui.figures.BlockBracketsBorder)1 CompositeFigure (org.whole.lang.ui.figures.CompositeFigure)1 OverColumnLayout (org.whole.lang.ui.layout.OverColumnLayout)1