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
Modifier and TypeFieldDescriptionstatic final OverridePolicy[]
The ordered array of possible enumeration values.static final OverridePolicy
Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a OverridePolicy enumeration.static final String
Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a String.static final int
Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as an int.static final OverridePolicy
Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a OverridePolicy enumeration.static final String
Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a String.static final int
Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as an int. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OverridePolicy
get
(int aValue) Returns the correct instance of the OverridePolicy ENUM for aValue.static OverridePolicy
Returns the correct instance of the OverridePolicy ENUM for aLiteral.int
getValue()
-
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.
-