Exemplo n.º 1
0
 /*
  * (non-Javadoc)
  *
  * @see org.xmind.gef.part.GraphicalEditPart#createFigure()
  */
 @Override
 protected IFigure createFigure() {
   IFigure figure = new Layer();
   figure.setOpaque(true);
   figure.setBackgroundColor(ColorConstants.black);
   figure.setLayoutManager(new NavigationItemLayout());
   return figure;
 }
Exemplo n.º 2
0
 @Override
 protected IFigure createFigure() {
   IFigure f = createFigureForModel();
   f.setOpaque(false); // transparent figure
   return f;
 }
Exemplo n.º 3
0
 /*
  * (non-Javadoc)
  *
  * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
  */
 @Override
 protected IFigure createFigure() {
   final IFigure f = createFigureForModel();
   f.setOpaque(true); // non-transparent figure
   return f;
 }