public static enum ResourceFilePropertyDescriptor.TypeHint extends Enum<ResourceFilePropertyDescriptor.TypeHint>
Enum Constant and Description |
---|
DIRECTORY
Studio will display a directory chooser when the user wishes to select a resource.
|
FILE
Studio will display a file chooser when the user wishes to select a resource
|
Modifier and Type | Method and Description |
---|---|
static ResourceFilePropertyDescriptor.TypeHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceFilePropertyDescriptor.TypeHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceFilePropertyDescriptor.TypeHint FILE
public static final ResourceFilePropertyDescriptor.TypeHint DIRECTORY
Operator.getResourceContents(String)
is not to be used
on directory resources.public static ResourceFilePropertyDescriptor.TypeHint[] values()
for (ResourceFilePropertyDescriptor.TypeHint c : ResourceFilePropertyDescriptor.TypeHint.values()) System.out.println(c);
public static ResourceFilePropertyDescriptor.TypeHint 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 null