org.eclipse.ui.commands
Class Priority

java.lang.Object
  extended by org.eclipse.ui.commands.Priority
All Implemented Interfaces:
java.lang.Comparable

Deprecated. This concept is now captured in the ISources integer constants.

public final class Priority
extends java.lang.Object
implements java.lang.Comparable

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, org.eclipse.ui.ISources, IHandlerService.activateHandler(String, IHandler, Expression, int)

Method Summary
 int compareTo(java.lang.Object object)
          Deprecated.  
 int hashCode()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

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

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

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