Class OverridePolicy

java.lang.Object
org.eclipse.ui.navigator.OverridePolicy

public final class OverridePolicy extends Object

Enumeration of the OverridePolicy values supported by the Common Navigator.

Since:
3.4
  • Field Details

    • InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_VALUE

      public static final int InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_VALUE
      Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as an int.
      See Also:
    • InvokeAlwaysRegardlessOfSuppressedExt_VALUE

      public static final int InvokeAlwaysRegardlessOfSuppressedExt_VALUE
      Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as an int.
      See Also:
    • InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_LITERAL

      public static final String InvokeOnlyIfSuppressedExtAlsoVisibleAndActive_LITERAL
      Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a String.
      See Also:
    • InvokeAlwaysRegardlessOfSuppressedExt_LITERAL

      public static final String InvokeAlwaysRegardlessOfSuppressedExt_LITERAL
      Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a String.
      See Also:
    • InvokeOnlyIfSuppressedExtAlsoVisibleAndActive

      public static final OverridePolicy InvokeOnlyIfSuppressedExtAlsoVisibleAndActive
      Indicates InvokeOnlyIfSuppressedExtAlsoVisibleAndActive OverridePolicy as a OverridePolicy enumeration.
    • InvokeAlwaysRegardlessOfSuppressedExt

      public static final OverridePolicy InvokeAlwaysRegardlessOfSuppressedExt
      Indicates InvokeAlwaysRegardlessOfSuppressedExt OverridePolicy as a OverridePolicy enumeration.
    • ENUM_ARRAY

      public static final OverridePolicy[] ENUM_ARRAY
      The ordered array of possible enumeration values.
  • Constructor Details

    • OverridePolicy

      protected OverridePolicy(int aValue, String aLiteral)
  • Method Details

    • get

      public static OverridePolicy get(String aLiteral)
      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

      public static OverridePolicy get(int aValue)
      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

      public String getLiteral()
      Returns:
      The literal string for this specific OverridePolicy.
    • getValue

      public int getValue()
      Returns:
      The integer value for this specific OverridePolicy.