Deprecated API
Contents
- 
Terminally Deprecated ElementsElementDescriptionUseDimension.expand(int, int)instead.UseDimension.getShrinked(Dimension)instead.UsePrecisionPointorPoint(int, int)instead.UsePrecisionDimension.setPreciseHeight(double)andPrecisionDimension.preciseHeight()instead. This field will become private in the future.UsePrecisionDimension.setPreciseWidth(double)andPrecisionDimension.preciseWidth()instead. This field will become private in the future.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 ifPrecisionDimension.preciseWidthandPrecisionDimension.preciseHeightfield values are not manipulated directly, but only via respective methods offered by this class.UsePrecisionPoint.setPreciseX(double)andPrecisionPoint.preciseX()instead. This field will become private in future versions.UsePrecisionPoint.setPreciseY(double)andPrecisionPoint.preciseY()instead. This field will become private in future versions.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 ifPrecisionPoint.preciseXandPrecisionPoint.preciseYfield values are not manipulated directly, but only via respective methods offered by this class.UsePrecisionRectangle.setPreciseHeight(double)andPrecisionRectangle.preciseHeight()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseWidth(double)andPrecisionRectangle.preciseWidth()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseX(double)andPrecisionRectangle.preciseX()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseX(double)andPrecisionRectangle.preciseY()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseHeight(double)instead.UsePrecisionRectangle.setPreciseWidth(double)instead.UsePrecisionRectangle.setPreciseX(double)instead.UsePrecisionRectangle.setPreciseX(double)instead.UsePrecisionRectangle.union(Rectangle)insteadThis 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 ifPrecisionRectangle.preciseX,PrecisionRectangle.preciseY,PrecisionRectangle.preciseWidth, andPrecisionRectangle.preciseHeightfield values are not manipulated directly, but only via respective methods offered by this class.UseVectorinstead, which offers double precision instead of integer precision.UseRectangle.shrink(Insets)instead.UseRectangle.getShrinked(Insets)instead.Union with a dimension generally does not make much sense, thus deprecating this. UseDimension.max(Dimension, Dimension)andRectangle.setSize(Dimension)to implement the desired behavior instead.use UseArrayList.get(int)instead.use UseArrayList.get(int)instead.UsePrintOperation.getFreshGraphics()instead. This method will be removed after the 2027-06 release.UsePrintOperation.setupGraphicsForPage(Graphics)instead. This method will be removed after the 2027-06 release.
- 
Deprecated ClassesClassDescriptionuse ReverseFigureChildrenIterator insteadUseVectorinstead, which offers double precision instead of integer precision.virtual nodes of an edge should be cast to Node.this class is not used
- 
Deprecated FieldsFieldDescriptionUseConnectionLocator.MIDDLEinstead, since the location is not the midpoint of a line-segment, but the middle of a polyline.access usingFigure.getLocalBackgroundColor().access usingFigure.getBorder()access usingFigure.getLocalForegroundColor().access usingFigure.getLocalFont()access usingFigure.getToolTip()UseOrderedLayout.ALIGN_TOPLEFTinstead.UseOrderedLayout.ALIGN_BOTTOMRIGHTinstead.UseFlowLayout.getMajorAlignment()andFlowLayout.setMajorAlignment(int)instead.UseFlowLayout.getMajorSpacing()andFlowLayout.setMajorSpacing(int)instead.UseFlowLayout.getMinorSpacing()andFlowLayout.setMinorSpacing(int)instead.UsePrecisionDimension.setPreciseHeight(double)andPrecisionDimension.preciseHeight()instead. This field will become private in the future.UsePrecisionDimension.setPreciseWidth(double)andPrecisionDimension.preciseWidth()instead. This field will become private in the future.UsePrecisionPoint.setPreciseX(double)andPrecisionPoint.preciseX()instead. This field will become private in future versions.UsePrecisionPoint.setPreciseY(double)andPrecisionPoint.preciseY()instead. This field will become private in future versions.UsePrecisionRectangle.setPreciseHeight(double)andPrecisionRectangle.preciseHeight()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseWidth(double)andPrecisionRectangle.preciseWidth()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseX(double)andPrecisionRectangle.preciseX()instead. This field will become private in the future.UsePrecisionRectangle.setPreciseX(double)andPrecisionRectangle.preciseY()instead. This field will become private in the future.use accessors insteaduseEdge.getPoints()INTERNAL field, use accessor method Indicates an edge was inverted during the layoutuse accessors insteaduse accessors insteaduse accessors insteaduseEdge.getPoints()use accessors insteadfor internal use onlyUseSWT.ALTinstead.UseSWT.BUTTON_MASKinstead.UseSWT.BUTTON1instead.UseSWT.BUTTON2instead.UseSWT.BUTTON3instead.UseSWT.BUTTON4instead.UseSWT.BUTTON5instead.UseSWT.CONTROLinstead.UseSWT.SHIFTinstead.UseOrderedLayout.setHorizontal(boolean)andOrderedLayout.isHorizontal()instead.Pulled up from derived layout manager and deprecated here because unused.UseOrderedLayout.getMinorAlignment()andOrderedLayout.setMinorAlignment(int)instead.Pulled up from derived layout manager and deprecated here because unused.UseRoundedRectangle.getCornerDimensions()instead.UseShape.setLineStyle(int)instead.UseShape.setLineWidth(int)orShape.setLineWidthFloat(float)instead.UseSWT.BUTTON_MASKinstead.Unused.UseToolbarLayout.getSpacing()andToolbarLayout.setSpacing(int)instead.Unused.
- 
Deprecated MethodsMethodDescriptioncall fireFigureMoved() or fireCoordinateSystemChanged() as appropriatedo not mess with this GCUseDimension.expand(int, int)instead.UseDimension.getShrinked(Dimension)instead.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 ifPrecisionDimension.preciseWidthandPrecisionDimension.preciseHeightfield values are not manipulated directly, but only via respective methods offered by this class.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 ifPrecisionPoint.preciseXandPrecisionPoint.preciseYfield values are not manipulated directly, but only via respective methods offered by this class.UsePrecisionRectangle.setPreciseHeight(double)instead.UsePrecisionRectangle.setPreciseWidth(double)instead.UsePrecisionRectangle.setPreciseX(double)instead.UsePrecisionRectangle.setPreciseX(double)instead.UsePrecisionRectangle.union(Rectangle)insteadThis 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 ifPrecisionRectangle.preciseX,PrecisionRectangle.preciseY,PrecisionRectangle.preciseWidth, andPrecisionRectangle.preciseHeightfield values are not manipulated directly, but only via respective methods offered by this class.UseRectangle.shrink(Insets)instead.UseRectangle.getShrinked(Insets)instead.Union with a dimension generally does not make much sense, thus deprecating this. UseDimension.max(Dimension, Dimension)andRectangle.setSize(Dimension)to implement the desired behavior instead.use UseArrayList.get(int)instead.use UseArrayList.get(int)instead.Do not callthe icon is automatically displayed at 1:1callIFigure.remove(IFigure)insteadUsePrintOperation.getFreshGraphics()instead. This method will be removed after the 2027-06 release.UsePrintOperation.setupGraphicsForPage(Graphics)instead. This method will be removed after the 2027-06 release.use getContents()call setContents(IFigure) insteadUseToolbarLayout.isStretchMinorAxis()instead.UseOrderedLayout.setHorizontal(boolean)with argumentfalseinstead.
- 
Deprecated ConstructorsConstructorDescriptionUsePrecisionPointorPoint(int, int)instead.This class is for internal use only.