public static enum NodeUtil.ReloadMode extends java.lang.Enum<NodeUtil.ReloadMode>
Node
. Possible values are as follows:
SILENT_RELOAD
requests that all reloads be silent
operations. When set, end users will not be prompted whether to reload
nodes that were modified outside of the IDE, and there will not be
any dialogs throughout.RELOAD_PROMPTED_IF_DIRTY
prompt if a node was reloaded
outside of jdev, while also dirty in the IDE. This flag is redundant if
SILENT_RELOAD
is not set, since a confirmation will then
be shown for all nodes anyway.
INFORM_WHEN_NONE_NEED_RELOADING
inform the user when
there are no Node
s to be reloaded. Consider this in cases when
buffer reload is manually requested by the user.
EnumSet#of(E)
. For example,
EnumSet.of(NodeUtil.ReloadMode.SILENT_RELOAD)
.Enum Constant and Description |
---|
INFORM_WHEN_NONE_NEED_RELOADING |
RELOAD_PROMPTED_IF_DIRTY |
SILENT_RELOAD |
Modifier and Type | Method and Description |
---|---|
static NodeUtil.ReloadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeUtil.ReloadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeUtil.ReloadMode SILENT_RELOAD
public static final NodeUtil.ReloadMode RELOAD_PROMPTED_IF_DIRTY
public static final NodeUtil.ReloadMode INFORM_WHEN_NONE_NEED_RELOADING
public static NodeUtil.ReloadMode[] values()
for (NodeUtil.ReloadMode c : NodeUtil.ReloadMode.values()) System.out.println(c);
public static NodeUtil.ReloadMode 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