Package org.eclipse.ui.navigator
Class Priority
java.lang.Object
org.eclipse.ui.navigator.Priority
Enumeration of the Priority values supported by the Common Navigator.
- Since:
- 3.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Priority[]The ordered array of possible enumeration values (0=> Highest, length-1=>Lowest)static final PriorityIndicates High priority as a Priority enumeration.static final StringIndicates High priority as a String.static final intIndicates High priority as an int.static final PriorityIndicates Higher priority as a Priority enumeration.static final StringIndicates Higher priority as a String.static final intIndicates Higher priority as an int.static final PriorityIndicates Highest priority as a Priority enumeration.static final StringIndicates Highest priority as a String.static final intIndicates Highest priority as an int.static final PriorityIndicates Low priority as a Priority enumeration.static final StringIndicates Low priority as a String.static final intIndicates Low priority as an int.static final PriorityIndicates Lower priority as a Priority enumeration.static final StringIndicates Lower priority as a String.static final intIndicates Lower priority as an int.static final PriorityIndicates Lowest priority as a Priority enumeration.static final StringIndicates Lowest priority as a String.static final intIndicates Lowest priority as an int.static final PriorityIndicates Normal priority as a Priority enumeration.static final StringIndicates Normal priority as a String.static final intIndicates Normal priority as an int. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HIGHEST_PRIORITY_VALUE
public static final int HIGHEST_PRIORITY_VALUEIndicates Highest priority as an int.- See Also:
-
HIGHER_PRIORITY_VALUE
public static final int HIGHER_PRIORITY_VALUEIndicates Higher priority as an int.- See Also:
-
HIGH_PRIORITY_VALUE
public static final int HIGH_PRIORITY_VALUEIndicates High priority as an int.- See Also:
-
NORMAL_PRIORITY_VALUE
public static final int NORMAL_PRIORITY_VALUEIndicates Normal priority as an int.- See Also:
-
LOW_PRIORITY_VALUE
public static final int LOW_PRIORITY_VALUEIndicates Low priority as an int.- See Also:
-
LOWER_PRIORITY_VALUE
public static final int LOWER_PRIORITY_VALUEIndicates Lower priority as an int.- See Also:
-
LOWEST_PRIORITY_VALUE
public static final int LOWEST_PRIORITY_VALUEIndicates Lowest priority as an int.- See Also:
-
HIGHEST_PRIORITY_LITERAL
Indicates Highest priority as a String.- See Also:
-
HIGHER_PRIORITY_LITERAL
Indicates Higher priority as a String.- See Also:
-
HIGH_PRIORITY_LITERAL
Indicates High priority as a String.- See Also:
-
NORMAL_PRIORITY_LITERAL
Indicates Normal priority as a String.- See Also:
-
LOW_PRIORITY_LITERAL
Indicates Low priority as a String.- See Also:
-
LOWER_PRIORITY_LITERAL
Indicates Lower priority as a String.- See Also:
-
LOWEST_PRIORITY_LITERAL
Indicates Lowest priority as a String.- See Also:
-
HIGHEST
Indicates Highest priority as a Priority enumeration. -
HIGHER
Indicates Higher priority as a Priority enumeration. -
HIGH
Indicates High priority as a Priority enumeration. -
NORMAL
Indicates Normal priority as a Priority enumeration. -
LOW
Indicates Low priority as a Priority enumeration. -
LOWER
Indicates Lower priority as a Priority enumeration. -
LOWEST
Indicates Lowest priority as a Priority enumeration. -
ENUM_ARRAY
The ordered array of possible enumeration values (0=> Highest, length-1=>Lowest)
-
-
Constructor Details
-
Priority
-
-
Method Details
-
get
Returns the correct instance of the Priority ENUM for aLiteral.This method will return NORMAL if the supplied value of aLiteral is invalid.
- Parameters:
aLiteral- One of the defined *_LITERAL constants of this class- Returns:
- The corresponding Priority Enum or NORMAL if aLiteral is invalid
-
get
Returns the correct instance of the Priority ENUM for aValue.This method will return NORMAL if the supplied value of aValue is invalid.
- Parameters:
aValue- One of the defined *_VALUE constants of this class- Returns:
- The corresponding Priority Enum or NORMAL if aValue is invalid
-
getLiteral
- Returns:
- The literal string for this specific Priority.
-
getValue
public int getValue()0 is the lowest priority; 7 is the highest.- Returns:
- The integer value for this specific Priority.
-
toString
-