|
Kie Workbench - Commom - Data modeller Client 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DataModelerContext.EditionStatus>
org.kie.workbench.common.screens.datamodeller.client.DataModelerContext.EditionStatus
public static enum DataModelerContext.EditionStatus
Status relative to the edition tabs. This is a kind of sub status, that tells us if there are pending changes in whatever of the edition tabs. It may happen that there are no pending changes in the edition tabs but the .java file is dirty. e.g. If you make some changes in the "Editor" tab and goes to the "Source" tab, the code will be automatically re generated to include the changes. After the code is re regenerated the editionStatus will be changed from EDITOR_CHANGED to NO_CHANGES. This means that the "Source" tab is synchronized with the "Editor" tab, but the .java file still needs to be saved. And this the editor as the mail component is dirty.
| Enum Constant Summary | |
|---|---|
EDITOR_CHANGED
Changes has been done in "Editor" tab and the code wasn't regenerated yet. |
|
NO_CHANGES
No pending changes to process. |
|
SOURCE_CHANGED
Changes has been done in the "Source" tab and the data object wasn't regenerated (parsed) yet. |
|
| Method Summary | |
|---|---|
static DataModelerContext.EditionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataModelerContext.EditionStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DataModelerContext.EditionStatus NO_CHANGES
public static final DataModelerContext.EditionStatus EDITOR_CHANGED
public static final DataModelerContext.EditionStatus SOURCE_CHANGED
| Method Detail |
|---|
public static DataModelerContext.EditionStatus[] values()
for (DataModelerContext.EditionStatus c : DataModelerContext.EditionStatus.values()) System.out.println(c);
public static DataModelerContext.EditionStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
Kie Workbench - Commom - Data modeller Client 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||