org.eclipse.ocl.examples.modelregistry.ui.icons
Enum ModelRegistryIcons
java.lang.Object
java.lang.Enum<ModelRegistryIcons>
org.eclipse.ocl.examples.modelregistry.ui.icons.ModelRegistryIcons
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ModelRegistryIcons>
public enum ModelRegistryIcons
- extends java.lang.Enum<ModelRegistryIcons>
ModelRegistryIcons is a type-safe enumeration of the same-named GIF files in the
same folder as this enumeration.
Method Summary |
static ModelRegistryIcons |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ModelRegistryIcons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
FILE
public static final ModelRegistryIcons FILE
FOLDER
public static final ModelRegistryIcons FOLDER
OCCLUDED
public static final ModelRegistryIcons OCCLUDED
PROJECT
public static final ModelRegistryIcons PROJECT
WITH_ERROR
public static final ModelRegistryIcons WITH_ERROR
WITH_WARNING
public static final ModelRegistryIcons WITH_WARNING
values
public static ModelRegistryIcons[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ModelRegistryIcons c : ModelRegistryIcons.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ModelRegistryIcons valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null