Package org.omegat.gui.dialogs
Enum ProjectPropertiesDialog.Mode
- java.lang.Object
-
- java.lang.Enum<ProjectPropertiesDialog.Mode>
-
- org.omegat.gui.dialogs.ProjectPropertiesDialog.Mode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProjectPropertiesDialog.Mode>
- Enclosing class:
- ProjectPropertiesDialog
public static enum ProjectPropertiesDialog.Mode extends java.lang.Enum<ProjectPropertiesDialog.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EDIT_PROJECT
This dialog is used to edit project's properties: where directories reside, languages, etc.NEW_PROJECT
This dialog is used to create a new project.RESOLVE_DIRS
This dialog is used to resolve missing directories of existing project (upon opening the project).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectPropertiesDialog.Mode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProjectPropertiesDialog.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW_PROJECT
public static final ProjectPropertiesDialog.Mode NEW_PROJECT
This dialog is used to create a new project.
-
RESOLVE_DIRS
public static final ProjectPropertiesDialog.Mode RESOLVE_DIRS
This dialog is used to resolve missing directories of existing project (upon opening the project).
-
EDIT_PROJECT
public static final ProjectPropertiesDialog.Mode EDIT_PROJECT
This dialog is used to edit project's properties: where directories reside, languages, etc.
-
-
Method Detail
-
values
public static ProjectPropertiesDialog.Mode[] 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 (ProjectPropertiesDialog.Mode c : ProjectPropertiesDialog.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectPropertiesDialog.Mode 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 namejava.lang.NullPointerException
- if the argument is null
-
-