Eclipse Platform
Release 3.1

org.eclipse.ui.commands
Class Priority

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

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

public final class Priority
extends Object
implements 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, ISources, IHandlerService.activateHandler(String, IHandler, Expression, int)

Field Summary
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
 int compareTo(Object object)
          Deprecated.  
 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

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

toString

public String toString()
Deprecated. 
See Also:
Object.toString()

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.