Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionaccess using
Figure.getLocalBackgroundColor(). This field will be made private after the 2027-09 release.access usingFigure.getBorder()This field will be made private after the 2027-09 release.access usingFigure.getLocalForegroundColor(). This field will be made private after the 2027-09 release.use ReverseFigureChildrenIterator instead. This class will be removed after the 2027-09 release.access usingFigure.getLocalFont(). This field will be made private after the 2027-09 release.access usingFigure.getToolTip()This field will be made private after the 2027-09 release.UseOrderedLayout.ALIGN_TOPLEFTinstead. This field will be removed after the 2027-09 release.UseOrderedLayout.ALIGN_BOTTOMRIGHTinstead. This field will be removed after the 2027-09 release.UseOrderedLayout.setStretchMinorAxis(boolean)andOrderedLayout.isStretchMinorAxis()instead. This field will be made private after the 2027-09 release.UseFlowLayout.getMajorAlignment()andFlowLayout.setMajorAlignment(int)instead. This field will be made private after the 2027-09 release.UseFlowLayout.getMajorSpacing()andFlowLayout.setMajorSpacing(int)instead. This field will be made private after the 2027-09 release.UseFlowLayout.getMinorSpacing()andFlowLayout.setMinorSpacing(int)instead. This field will be made private after the 2027-09 release.UseDimension.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.callIFigure.remove(IFigure)instead. This method will be removed after the 2027-09 release.UseOrderedLayout.setHorizontal(boolean)andOrderedLayout.isHorizontal()instead. This field will be made private after the 2027-09 release.Pulled up from derived layout manager and deprecated here because unused. This field will be removed after the 2027-09 release.UseOrderedLayout.getMinorAlignment()andOrderedLayout.setMinorAlignment(int)instead. This field will be made private after the 2027-09 release.Pulled up from derived layout manager and deprecated here because unused. This field will be removed after the 2027-09 release.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.UseShape.setLineStyle(int)instead. This field will be made private with the 2027-09 release.UseShape.setLineWidth(int)orShape.setLineWidthFloat(float)instead. This field will be made private with the 2027-09 release.UseSWT.BUTTON_MASKinstead. This field will be removed after the 2027-09 release.UseToolbarLayout.isStretchMinorAxis()instead. This method will be removed after the 2027-09 release.Unused. This field will be removed after the 2027-09 release.UseOrderedLayout.setStretchMinorAxis(boolean)andOrderedLayout.isStretchMinorAxis()instead. This field will be made private after the 2027-09 release.useToolbarLayout.setStretchMinorAxis(boolean). This method will be removed after the 2027-09 release.UseOrderedLayout.setHorizontal(boolean)with argumentfalseinstead. This method will be removed after the 2027-09 release.UseToolbarLayout.getSpacing()andToolbarLayout.setSpacing(int)instead. This field will be made private after the 2027-09 release.Unused. This field will be removed after the 2027-09 release.
-
Deprecated ClassesClassDescriptionuse ReverseFigureChildrenIterator instead. This class will be removed after the 2027-09 release.Use
Vectorinstead, which offers double precision instead of integer precision.virtual nodes of an edge should be cast to Node.this class is not used
-
Deprecated FieldsFieldDescriptionUse
ConnectionLocator.MIDDLEinstead, since the location is not the midpoint of a line-segment, but the middle of a polyline.access usingFigure.getLocalBackgroundColor(). This field will be made private after the 2027-09 release.access usingFigure.getBorder()This field will be made private after the 2027-09 release.access usingFigure.getLocalForegroundColor(). This field will be made private after the 2027-09 release.access usingFigure.getLocalFont(). This field will be made private after the 2027-09 release.access usingFigure.getToolTip()This field will be made private after the 2027-09 release.UseOrderedLayout.ALIGN_TOPLEFTinstead. This field will be removed after the 2027-09 release.UseOrderedLayout.ALIGN_BOTTOMRIGHTinstead. This field will be removed after the 2027-09 release.UseOrderedLayout.setStretchMinorAxis(boolean)andOrderedLayout.isStretchMinorAxis()instead. This field will be made private after the 2027-09 release.UseFlowLayout.getMajorAlignment()andFlowLayout.setMajorAlignment(int)instead. This field will be made private after the 2027-09 release.UseFlowLayout.getMajorSpacing()andFlowLayout.setMajorSpacing(int)instead. This field will be made private after the 2027-09 release.UseFlowLayout.getMinorSpacing()andFlowLayout.setMinorSpacing(int)instead. This field will be made private after the 2027-09 release.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. This field will be made private after the 2027-09 release.Pulled up from derived layout manager and deprecated here because unused. This field will be removed after the 2027-09 release.UseOrderedLayout.getMinorAlignment()andOrderedLayout.setMinorAlignment(int)instead. This field will be made private after the 2027-09 release.Pulled up from derived layout manager and deprecated here because unused. This field will be removed after the 2027-09 release.UseRoundedRectangle.getCornerDimensions()instead.UseShape.setLineStyle(int)instead. This field will be made private with the 2027-09 release.UseShape.setLineWidth(int)orShape.setLineWidthFloat(float)instead. This field will be made private with the 2027-09 release.UseSWT.BUTTON_MASKinstead. This field will be removed after the 2027-09 release.Unused. This field will be removed after the 2027-09 release.UseOrderedLayout.setStretchMinorAxis(boolean)andOrderedLayout.isStretchMinorAxis()instead. This field will be made private after the 2027-09 release.UseToolbarLayout.getSpacing()andToolbarLayout.setSpacing(int)instead. This field will be made private after the 2027-09 release.Unused. This field will be removed after the 2027-09 release.
-
Deprecated MethodsMethodDescriptioncall fireFigureMoved() or fireCoordinateSystemChanged() as appropriatedo not mess with this GCUse
Dimension.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)instead. This method will be removed after the 2027-09 release.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.use getContents()call setContents(IFigure) insteadUseToolbarLayout.isStretchMinorAxis()instead. This method will be removed after the 2027-09 release.useToolbarLayout.setStretchMinorAxis(boolean). This method will be removed after the 2027-09 release.UseOrderedLayout.setHorizontal(boolean)with argumentfalseinstead. This method will be removed after the 2027-09 release.
-
Deprecated ConstructorsConstructorDescriptionUse
PrecisionPointorPoint(int, int)instead.This class is for internal use only.