public class VersionHistoryCommand extends VCSCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION_HISTORY_CMD |
static int |
VERSION_HISTORY_CMD_ID |
CANCEL, ERROR, NOOP, OK| Modifier | Constructor and Description |
|---|---|
|
VersionHistoryCommand() |
protected |
VersionHistoryCommand(int cmdId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeVersionHistoryEditors() |
protected 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.
|
static IdeAction |
getVersionHistoryAction(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_HISTORY_CMD
public static final int VERSION_HISTORY_CMD_ID
public VersionHistoryCommand()
protected VersionHistoryCommand(int cmdId)
public static final IdeAction getVersionHistoryAction(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.Exceptionprotected int doitImpl()
throws java.lang.Exception
VCSCommanddoitImpl in class VCSCommandjava.lang.Exceptionpublic static final void closeVersionHistoryEditors()