Search in sources :

Example 1 with PipeBracketsBorder

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

the class SplitPart method createFigure.

protected IFigure createFigure() {
    IFigure f = new EntityFigure(new OverColumnLayout().withSpacing(4).withMinorAlignment(// CENTER).withAutoresizeWeight(1f));
    Alignment.FILL));
    f.setBorder(new PipeBracketsBorder(0, 1, 0, 1));
    return f;
}
Also used : PipeBracketsBorder(org.whole.lang.ui.figures.PipeBracketsBorder) EntityFigure(org.whole.lang.ui.figures.EntityFigure) OverColumnLayout(org.whole.lang.ui.layout.OverColumnLayout) IFigure(org.eclipse.draw2d.IFigure)

Aggregations

IFigure (org.eclipse.draw2d.IFigure)1 EntityFigure (org.whole.lang.ui.figures.EntityFigure)1 PipeBracketsBorder (org.whole.lang.ui.figures.PipeBracketsBorder)1 OverColumnLayout (org.whole.lang.ui.layout.OverColumnLayout)1