Class Priority

  • All Implemented Interfaces:
    java.lang.Comparable

    @Deprecated
    public final class Priority
    extends java.lang.Object
    implements java.lang.Comparable
    Deprecated.
    This concept is now captured in the ISources integer constants. This API is scheduled for deletion, see Bug 431177 for details

    An instance of this interface represents a priority for use with instances of HandlerSubmission.

    The order of precedence (from highest to lowest) is as follows. Submissions with higher priority will be preferred over those with lower priority.

    1. MEDIUM
    2. LOW
    3. LEGACY

    This class is not intended to be extended by clients.

    Since:
    3.0
    See Also:
    HandlerSubmission, ISources, IHandlerService.activateHandler(String, org.eclipse.core.commands.IHandler, Expression)
    Restriction:
    This class is scheduled for deletion.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Priority LEGACY
      Deprecated.
      An instance representing 'legacy' priority.
      static Priority LOW
      Deprecated.
      An instance representing 'low' priority.
      static Priority MEDIUM
      Deprecated.
      An instance representing 'medium' priority.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object object)
      Deprecated.
      java.lang.String toString()
      Deprecated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LEGACY

        public static final Priority LEGACY
        Deprecated.
        An instance representing 'legacy' priority.
      • LOW

        public static final Priority LOW
        Deprecated.
        An instance representing 'low' priority.
      • MEDIUM

        public static final Priority MEDIUM
        Deprecated.
        An instance representing 'medium' priority.
    • Method Detail

      • compareTo

        @Deprecated
        public int compareTo​(java.lang.Object object)
        Deprecated.
        Specified by:
        compareTo in interface java.lang.Comparable
        See Also:
        Comparable.compareTo(java.lang.Object)
      • toString

        @Deprecated
        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()