Enum Class Shell.ShellState

java.lang.Object
java.lang.Enum<Shell.ShellState>
se.conciliate.extensions.ui.Shell.ShellState
All Implemented Interfaces:
Serializable, Comparable<Shell.ShellState>, Constable
Enclosing interface:
Shell

public static enum Shell.ShellState extends Enum<Shell.ShellState>
Describes the shells state. The shell is either in a modeling state or a repository browsing state. In the modeling state, the user is able to create and edit models. In the repository state, the user is able to create and open repositories. The state flow is

REPOSITORY_BROWSING (open repository) => MODELING (close repository) => REPOSITORY_BROWSING
  • Enum Constant Details

    • MODELING

      public static final Shell.ShellState MODELING
      In the modeling view
    • REPOSITORY_BROWSING

      public static final Shell.ShellState REPOSITORY_BROWSING
      In the repository browser
  • Method Details

    • values

      public static Shell.ShellState[] 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 Shell.ShellState 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