Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.RectangleFigure.translateToRelative()


     * @param rect
     * @return the default rectangle figure for the requested visual rectangle
     */
    protected final RectangleFigure showFeedbackRect(Rectangle rect) {
        RectangleFigure pf = createFeedbackFigure();
        pf.translateToRelative(rect);
        pf.setBounds(rect);
        return pf;
    }
   
    /**
 
View Full Code Here


      fig.setForegroundColor(HOVER_FEEDBACK_COLOR);
      addFeedback(fig);

      Rectangle r = rects[i].getCopy();
      figure.translateToAbsolute(r);
      fig.translateToRelative(r);
      fig.setBounds(r);

      figures[i] = fig;
    }
      
View Full Code Here

  /**
   * @param rect
   */
  protected void showFeedbackRect(Rectangle rect) {
    RectangleFigure pf = getFeedbackFigure();
    pf.translateToRelative(rect);
    pf.setBounds(rect);
  }

  /**
   * @return Returns the _forUpdate.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.