Class JavaElementImageDescriptor


public class JavaElementImageDescriptor extends CompositeImageDescriptor
A JavaElementImageDescriptor consists of a base image and several adornments. The adornments are computed according to the flags either passed during creation or set via the method setAdornments(int).

This class may be instantiated; it is not intended to be subclassed.

Since:
2.0
Restriction:
This class is not intended to be subclassed by clients.
  • Field Details

    • ABSTRACT

      public static final int ABSTRACT
      Flag to render the abstract adornment.
      See Also:
    • FINAL

      public static final int FINAL
      Flag to render the final adornment.
      See Also:
    • SYNCHRONIZED

      public static final int SYNCHRONIZED
      Flag to render the synchronized adornment.
      See Also:
    • STATIC

      public static final int STATIC
      Flag to render the static adornment.
      See Also:
    • RUNNABLE

      public static final int RUNNABLE
      Flag to render the runnable adornment.
      See Also:
    • WARNING

      public static final int WARNING
      Flag to render the warning adornment.
      See Also:
    • ERROR

      public static final int ERROR
      Flag to render the error adornment.
      See Also:
    • OVERRIDES

      public static final int OVERRIDES
      Flag to render the 'override' adornment.
      See Also:
    • IMPLEMENTS

      public static final int IMPLEMENTS
      Flag to render the 'implements' adornment.
      See Also:
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Flag to render the 'constructor' adornment.
      See Also:
    • DEPRECATED

      public static final int DEPRECATED
      Flag to render the 'deprecated' adornment.
      Since:
      3.0
      See Also:
    • VOLATILE

      public static final int VOLATILE
      Flag to render the 'volatile' adornment.
      Since:
      3.3
      See Also:
    • TRANSIENT

      public static final int TRANSIENT
      Flag to render the 'transient' adornment.
      Since:
      3.3
      See Also:
    • BUILDPATH_ERROR

      public static final int BUILDPATH_ERROR
      Flag to render the build path error adornment.
      Since:
      3.7
      See Also:
    • NATIVE

      public static final int NATIVE
      Flag to render the 'native' adornment.
      Since:
      3.7
      See Also:
    • IGNORE_OPTIONAL_PROBLEMS

      public static final int IGNORE_OPTIONAL_PROBLEMS
      Flag to render the 'ignore optional compile problems' adornment.
      Since:
      3.8
      See Also:
    • DEFAULT_METHOD

      public static final int DEFAULT_METHOD
      Flag to render the 'default' method adornment.
      Since:
      3.10
      See Also:
    • ANNOTATION_DEFAULT

      public static final int ANNOTATION_DEFAULT
      Flag to render the 'default' annotation adornment.
      Since:
      3.10
      See Also:
    • INFO

      public static final int INFO
      Flag to render the info adornment.
      Since:
      3.12
      See Also:
    • SEALED

      public static final int SEALED
      Flag to render the sealed adornment.
      Since:
      3.22
      See Also:
      Restriction:
      This field is not intended to be referenced by clients.
    • NON_SEALED

      public static final int NON_SEALED
      Flag to render the sealed adornment.
      Since:
      3.22
      See Also:
      Restriction:
      This field is not intended to be referenced by clients.
  • Constructor Details

    • JavaElementImageDescriptor

      public JavaElementImageDescriptor(ImageDescriptor baseImage, int flags, Point size)
      Creates a new JavaElementImageDescriptor.
      Parameters:
      baseImage - an image descriptor used as the base image
      flags - flags indicating which adornments are to be rendered. See setAdornments(int) for valid values.
      size - the size of the resulting image
  • Method Details