Package se.conciliate.extensions.ui
Enum Class Shell.ShellState
- All Implemented Interfaces:
Serializable
,Comparable<Shell.ShellState>
,Constable
- Enclosing interface:
- Shell
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
REPOSITORY_BROWSING (open repository) => MODELING (close repository) => REPOSITORY_BROWSING
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn the modeling viewIn the repository browser -
Method Summary
Modifier and TypeMethodDescriptionstatic Shell.ShellState
Returns the enum constant of this class with the specified name.static Shell.ShellState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODELING
In the modeling view -
REPOSITORY_BROWSING
In the repository browser
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-