use of org.whole.lang.actions.ui.figures.MenuActionsFigure in project whole by wholeplatform.
the class MenuActionsPart method createFigure.
protected IFigure createFigure() {
IFigure f = new MenuActionsFigure();
f.setBorder(new MarginBorder(0, 0, 0, DrawUtils.SHADOW_SIZE) {
public void paint(IFigure f, Graphics g, Insets i) {
g.pushState();
Rectangle r = getPaintRectangle(f, i);
DrawUtils.drawShadowBorder(g, r, false);
g.popState();
}
});
return f;
}
Aggregations