Package com.nomagic.magicdraw.utils
Enum Class StateChangeHandler.DirtyType
java.lang.Object
java.lang.Enum<StateChangeHandler.DirtyType>
com.nomagic.magicdraw.utils.StateChangeHandler.DirtyType
- All Implemented Interfaces:
Serializable
,Comparable<StateChangeHandler.DirtyType>
,Constable
- Enclosing class:
- StateChangeHandler
@OpenApiAll
public static enum StateChangeHandler.DirtyType
extends Enum<StateChangeHandler.DirtyType>
Defines how much dirty is project. If project is SOFT_DIRTY, then
notification about project not saved is not going to be displayed, when
closing project.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StateChangeHandler.DirtyType
Returns the enum constant of this class with the specified name.static StateChangeHandler.DirtyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HARD_DIRTY
-
SOFT_DIRTY
-
-
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
-