Package editor.search

Enum SearchScope

java.lang.Object
java.lang.Enum<SearchScope>
editor.search.SearchScope
All Implemented Interfaces:
Serializable, Comparable<SearchScope>, java.lang.constant.Constable

public enum SearchScope extends Enum<SearchScope>
  • Enum Constant Details

    • CurrentFile

      public static final SearchScope CurrentFile
    • OpenFiles

      public static final SearchScope OpenFiles
    • SelectedFiles

      public static final SearchScope SelectedFiles
    • PreviousSearchFiles

      public static final SearchScope PreviousSearchFiles
  • Field Details

    • _label

      private final String _label
  • Constructor Details

    • SearchScope

      private SearchScope(String label)
  • Method Details

    • values

      public static SearchScope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SearchScope valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SearchScope>