public static enum EEFTextLifecycleManager.ConflictResolutionMode extends java.lang.Enum<EEFTextLifecycleManager.ConflictResolutionMode>
EEFTextLifecycleManager.resolveEditionConflict(Shell, String, String, String)
.Enum Constant | Description |
---|---|
ASK_USER |
Ask the user through a simple dialog which version to keep.
|
USE_LOCAL_VERSION |
Use the version being edited in the widget, overriding the new version computed from the current model state.
|
USE_MODEL_VERSION |
Use the version computed from the current model state, replacing the text being edited by the user in the
widget.
|
Modifier and Type | Method | Description |
---|---|---|
static EEFTextLifecycleManager.ConflictResolutionMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EEFTextLifecycleManager.ConflictResolutionMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EEFTextLifecycleManager.ConflictResolutionMode USE_LOCAL_VERSION
public static final EEFTextLifecycleManager.ConflictResolutionMode USE_MODEL_VERSION
public static final EEFTextLifecycleManager.ConflictResolutionMode ASK_USER
public static EEFTextLifecycleManager.ConflictResolutionMode[] values()
for (EEFTextLifecycleManager.ConflictResolutionMode c : EEFTextLifecycleManager.ConflictResolutionMode.values()) System.out.println(c);
public static EEFTextLifecycleManager.ConflictResolutionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null