Package org.eclipse.ui.navigator
Class OverridePolicy
java.lang.Object
org.eclipse.ui.navigator.OverridePolicy
Enumeration of the OverridePolicy values supported by the Common Navigator.
- Since:
- 3.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OverridePolicy[]The ordered array of possible enumeration values.static final OverridePolicyIndicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a OverridePolicy enumeration.static final StringIndicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a String.static final intIndicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as an int.static final OverridePolicyIndicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a OverridePolicy enumeration.static final StringIndicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a String.static final intIndicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as an int. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OverridePolicyget(int aValue) Returns the correct instance of the OverridePolicy ENUM for aValue.static OverridePolicyReturns the correct instance of the OverridePolicy ENUM for aLiteral.intgetValue()
-
Field Details
-
InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_VALUE
public static final int InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_VALUEIndicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as an int.- See Also:
-
InvokeAlwaysRegardlessOfSuppressedExt_VALUE
public static final int InvokeAlwaysRegardlessOfSuppressedExt_VALUEIndicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as an int.- See Also:
-
InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_LITERAL
Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a String.- See Also:
-
InvokeAlwaysRegardlessOfSuppressedExt_LITERAL
Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a String.- See Also:
-
InvokeOnlyIfSuppressedExtAlsoVisibleAndActive
Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a OverridePolicy enumeration. -
InvokeAlwaysRegardlessOfSuppressedExt
Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a OverridePolicy enumeration. -
ENUM_ARRAY
The ordered array of possible enumeration values.
-
-
Constructor Details
-
OverridePolicy
-
-
Method Details
-
get
Returns the correct instance of the OverridePolicy ENUM for aLiteral.This method will return InvokeAlwaysRegardlessOfSuppressedExt if the supplied value of aLiteral is invalid.
- Parameters:
aLiteral- One of the defined *_LITERAL constants of this class- Returns:
- The corresponding OverridePolicy Enum or InvokeAlwaysRegardlessOfSuppressedExt if aLiteral is invalid
-
get
Returns the correct instance of the OverridePolicy ENUM for aValue.This method will return InvokeAlwaysRegardlessOfSuppressedExt if the supplied value of aValue is invalid.
- Parameters:
aValue- One of the defined *_VALUE constants of this class- Returns:
- The corresponding OverridePolicy Enum or InvokeAlwaysRegardlessOfSuppressedExt if aValue is invalid
-
getLiteral
- Returns:
- The literal string for this specific OverridePolicy.
-
getValue
public int getValue()- Returns:
- The integer value for this specific OverridePolicy.
-