use of org.eclipse.wst.xsd.ui.internal.adt.design.figures.ICompartmentFigure in project webtools.sourceediting by eclipse.
the class TypeVizFigureFactory method createCompartmentFigure.
public ICompartmentFigure createCompartmentFigure(Object model) {
CompartmentFigure figure = new CompartmentFigure();
figure.setBorder(new MarginBorder(1));
ToolbarLayout toolbarLayout = new ToolbarLayout(false);
toolbarLayout.setStretchMinorAxis(true);
figure.setLayoutManager(toolbarLayout);
return figure;
}
Aggregations