public abstract class VersionTreeCommand extends VCSCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION_TREE_CMD |
static int |
VERSION_TREE_CMD_ID |
CANCEL, ERROR, NOOP, OK| Modifier | Constructor and Description |
|---|---|
|
VersionTreeCommand() |
protected |
VersionTreeCommand(int cmdId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeVersionTreeEditors() |
protected oracle.ide.vhv.VHVCustomizer |
createCustomizer() |
protected abstract oracle.ide.vhv.VHVQuery |
createQuery() |
int |
doitImpl()
Executes the actions associated with a specific version control command (implementation).
|
protected URLFilter |
getURLFilter()
Gets the URL filter controlling locatables in the command context.
|
protected abstract java.lang.String |
getVersionPath(java.net.URL url) |
static IdeAction |
getVersionTreeAction(java.lang.String command,
java.lang.String vcsId) |
boolean |
isAvailable() |
protected boolean |
isAvailableImpl()
Asks whether the command is available for the current context.
|
protected boolean |
isAvailableImpl(java.net.URL url)
Asks whether the command is available for the current context.
|
buildContextForEditor, createStatusFilter, doit, fireFileStructureChanged, fireSomeFilesCreated, fireSomeFilesDeleted, getContextLocatables, getExceptionHandler, getExtension, getFilteredSelection, getFilteredSelection, getLocatableURLFilter, getPolicyStatusCache, getStatusCache, getStatusCacheBridge, getStatusFilter, initializeCommandStyle, initializeCommandType, isAvailableImpl, isAvailableImpl, isThreaded, noOp, noOpImpl, reloadBuffers, storeTimestamps, updateReadOnlyStatesenableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setContext, setData, setTaskInfo, undopublic static final java.lang.String VERSION_TREE_CMD
public static final int VERSION_TREE_CMD_ID
public VersionTreeCommand()
protected VersionTreeCommand(int cmdId)
public static final IdeAction getVersionTreeAction(java.lang.String command, java.lang.String vcsId)
protected URLFilter getURLFilter()
VCSCommandgetURLFilter in class VCSCommandpublic boolean isAvailable()
isAvailable in class VCSCommandprotected boolean isAvailableImpl()
throws java.lang.Exception
VCSCommandisAvailableImpl in class VCSCommandtrue if the command style is VCSCommandStyle.NORMAL, otherwise calls VCSCommand.isAvailableImpl(Locatable[]) with contextual locatables.java.lang.Exceptionprotected boolean isAvailableImpl(java.net.URL url)
throws java.lang.Exception
VCSCommandisAvailableImpl in class VCSCommandtrue if either VCSCommand.getStatusCache() or VCSCommand.getStatusFilter() return null, otherwise uses the acceptance value of the status filter.java.lang.Exceptionpublic int doitImpl()
throws java.lang.Exception
VCSCommanddoitImpl in class VCSCommandjava.lang.Exceptionprotected abstract oracle.ide.vhv.VHVQuery createQuery()
protected abstract java.lang.String getVersionPath(java.net.URL url)
protected oracle.ide.vhv.VHVCustomizer createCustomizer()
public static final void closeVersionTreeEditors()