public final class VCSNodeCommands
extends java.lang.Object
Utility class for creating commands which update the IDE's node model.
| Modifier and Type | Method and Description |
|---|---|
static Command |
createCloseNodeOnlyCommand(Context context)
Creates a command to quietly close nodes without subsequently removing them
from the IDE's model.
|
static Command |
createMoveNodeCommand(Context context,
java.net.URL destinationUrl)
Deprecated.
replaced by
Node.rename(java.net.URL). |
static Command |
createQuietCloseNodeCommand(Context context)
Creates a command to quietly close nodes.
|
static Command |
createRemoveNodeOnlyCommand(Context context)
Creates a command to remove nodes from the IDE's model without initially
closing them.
|
public static final Command createQuietCloseNodeCommand(Context context)
context - the context on which the command will execute.public static final Command createCloseNodeOnlyCommand(Context context)
context - the context on which the command will execute.public static final Command createRemoveNodeOnlyCommand(Context context)
context - the context on which the command will execute.public static final Command createMoveNodeCommand(Context context, java.net.URL destinationUrl)
Node.rename(java.net.URL).context - the context on which the command will execute.destinationUrl - a destination URL for the node.