public enum SearchScope extends Enum<SearchScope>
| Enum Constant and Description |
|---|
CurrentFile |
OpenFiles |
PreviousSearchFiles |
SelectedFiles |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
String |
toString() |
static SearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchScope CurrentFile
public static final SearchScope OpenFiles
public static final SearchScope SelectedFiles
public static final SearchScope PreviousSearchFiles
public static SearchScope[] values()
for (SearchScope c : SearchScope.values()) System.out.println(c);
public static SearchScope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getLabel()
public String toString()
toString in class Enum<SearchScope>Copyright © 2018. All rights reserved.