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, updateReadOnlyStates
enableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setContext, setData, setTaskInfo, undo
public 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()
VCSCommand
getURLFilter
in class VCSCommand
public boolean isAvailable()
isAvailable
in class VCSCommand
protected boolean isAvailableImpl() throws java.lang.Exception
VCSCommand
isAvailableImpl
in class VCSCommand
true
if the command style is VCSCommandStyle.NORMAL
, otherwise calls VCSCommand.isAvailableImpl(Locatable[])
with contextual locatables.java.lang.Exception
protected boolean isAvailableImpl(java.net.URL url) throws java.lang.Exception
VCSCommand
isAvailableImpl
in class VCSCommand
true
if either VCSCommand.getStatusCache()
or VCSCommand.getStatusFilter()
return null
, otherwise uses the acceptance value of the status filter.java.lang.Exception
public int doitImpl() throws java.lang.Exception
VCSCommand
doitImpl
in class VCSCommand
java.lang.Exception
protected 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()