Package org.eclipse.ui.commands
Class Priority
- java.lang.Object
-
- org.eclipse.ui.commands.Priority
-
- All Implemented Interfaces:
Comparable
@Deprecated public final class Priority extends Object implements Comparable
Deprecated.This concept is now captured in theISources
integer constants. This API is scheduled for deletion, see Bug 431177 for detailsAn 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.
- MEDIUM
- LOW
- 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(Object object)
Deprecated.String
toString()
Deprecated.
-
-
-
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(Object object)
Deprecated.- Specified by:
compareTo
in interfaceComparable
- See Also:
Comparable.compareTo(java.lang.Object)
-
toString
@Deprecated public String toString()
Deprecated.- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-