Deprecated Methods |
org.eclipse.draw2d.geometry.Rectangle.crop(Insets)
Use Rectangle.shrink(Insets) instead. |
org.eclipse.draw2d.geometry.PrecisionRectangle.expand(double, double)
Use PrecisionRectangle.expandPrecise(double, double) instead. |
org.eclipse.draw2d.geometry.Dimension.expand(Point)
Use Dimension.expand(int, int) instead. |
org.eclipse.draw2d.Figure.fireMoved()
call fireFigureMoved() or fireCoordinateSystemChanged() as
appropriate |
org.eclipse.draw2d.geometry.Rectangle.getCropped(Insets)
Use Rectangle.getShrinked(Insets) instead. |
org.eclipse.draw2d.geometry.Dimension.getDifference(Dimension)
Use Dimension.getShrinked(Dimension) instead. |
org.eclipse.draw2d.geometry.Point.getDistance2(Point)
Use Point.getDistance(Point) and square the result
instead. |
org.eclipse.draw2d.geometry.Point.getDistanceOrthogonal(Point)
May not be guaranteed by precision subclasses and should thus
not be used any more. |
org.eclipse.draw2d.FigureUtilities.getGC()
do not mess with this GC |
org.eclipse.draw2d.ToolbarLayout.getStretchMinorAxis()
Use ToolbarLayout.isStretchMinorAxis() instead. |
org.eclipse.draw2d.ScrollPane.getView()
use getContents() |
org.eclipse.draw2d.LayeredPane.removeLayer(IFigure)
call IFigure.remove(IFigure) instead |
org.eclipse.draw2d.geometry.PrecisionRectangle.setHeight(double)
Use PrecisionRectangle.setPreciseHeight(double) instead. |
org.eclipse.draw2d.Label.setIconDimension(Dimension)
the icon is automatically displayed at 1:1 |
org.eclipse.draw2d.ToolbarLayout.setMatchWidth(boolean)
use ToolbarLayout.setStretchMinorAxis(boolean) |
org.eclipse.draw2d.ToolbarLayout.setVertical(boolean)
Use OrderedLayout.setHorizontal(boolean) with argument
false instead. |
org.eclipse.draw2d.ScrollPane.setView(IFigure)
call setContents(IFigure) instead |
org.eclipse.draw2d.geometry.PrecisionRectangle.setWidth(double)
Use PrecisionRectangle.setPreciseWidth(double) instead. |
org.eclipse.draw2d.geometry.PrecisionRectangle.setX(double)
Use PrecisionRectangle.setPreciseX(double) instead. |
org.eclipse.draw2d.geometry.PrecisionRectangle.setY(double)
Use PrecisionRectangle.setPreciseX(double) instead. |
org.eclipse.draw2d.geometry.PrecisionRectangle.shrink(double, double)
Use PrecisionRectangle.shrink(int, int) or
PrecisionRectangle.shrinkPrecise(double, double) instead. |
org.eclipse.draw2d.graph.Rank.sort()
Do not call |
org.eclipse.draw2d.geometry.Rectangle.union(Dimension)
Union with a dimension generally does not make much sense,
thus deprecating this. Use
Dimension.max(Dimension, Dimension) and
Rectangle.setSize(Dimension) to implement the desired behavior
instead. |
org.eclipse.draw2d.geometry.PrecisionRectangle.union(PrecisionRectangle)
Use PrecisionRectangle.union(Rectangle) instead |
org.eclipse.draw2d.geometry.PrecisionRectangle.updateInts()
This method should not be accessed by clients any more (it
will be made private in future releases). The update of
integer and precision fields is performed automatically if
PrecisionRectangle.preciseX , PrecisionRectangle.preciseY , PrecisionRectangle.preciseWidth ,
and PrecisionRectangle.preciseHeight field values are not manipulated
directly, but only via respective methods offered by this
class. |
org.eclipse.draw2d.geometry.PrecisionPoint.updateInts()
This method should not be accessed by clients any more (it
will be made private in future releases). The update of
integer and precision fields is performed automatically if
PrecisionPoint.preciseX and PrecisionPoint.preciseY field values are not
manipulated directly, but only via respective methods offered
by this class. |
org.eclipse.draw2d.geometry.PrecisionDimension.updateInts()
This method should not be accessed by clients any more (it
will be made private in future releases). The update of
integer and precision fields is performed automatically if
PrecisionDimension.preciseWidth and PrecisionDimension.preciseHeight field values
are not manipulated directly, but only via respective methods
offered by this class. |