Enum Class ProjectPropertiesDialog.Mode

java.lang.Object
java.lang.Enum<ProjectPropertiesDialog.Mode>
org.omegat.gui.dialogs.ProjectPropertiesDialog.Mode
All Implemented Interfaces:
Serializable, Comparable<ProjectPropertiesDialog.Mode>, Constable
Enclosing class:
ProjectPropertiesDialog

public static enum ProjectPropertiesDialog.Mode extends Enum<ProjectPropertiesDialog.Mode>
  • Enum Constant Details

    • 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 Details

    • values

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

      public static ProjectPropertiesDialog.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null