public abstract class AnnotationsCommand extends VCSCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REVISION |
CANCEL, ERROR, NOOP, OK| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationsCommand(int id) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
doitImpl()
Executes the actions associated with a specific version control command (implementation).
|
protected Annotations |
getAnnotations(java.io.File file) |
protected abstract Annotations |
getAnnotations(java.net.URL url) |
static IdeAction |
getAnnotationsAction(java.lang.String command,
java.lang.String vcsId) |
protected java.text.DateFormat |
getDateFormat() |
protected boolean |
isAvailableImpl()
Asks whether the command is available for the current context.
|
protected boolean |
isAvailableImpl(Locatable locatable)
Asks whether the command is available for the current context.
|
protected abstract boolean |
isUnmodifiedStatus(VCSStatus status) |
buildContextForEditor, createStatusFilter, doit, fireFileStructureChanged, fireSomeFilesCreated, fireSomeFilesDeleted, getContextLocatables, getExceptionHandler, getExtension, getFilteredSelection, getFilteredSelection, getLocatableURLFilter, getPolicyStatusCache, getStatusCache, getStatusCacheBridge, getStatusFilter, getURLFilter, initializeCommandStyle, initializeCommandType, isAvailable, 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 REVISION
public static final IdeAction getAnnotationsAction(java.lang.String command, java.lang.String vcsId)
protected 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(Locatable locatable) throws java.lang.Exception
VCSCommandisAvailableImpl in class VCSCommandfalse if the Locatable's URL is null or filtered by the locatable URL filter, otherwhise calls otherwise calls VCSCommand.isAvailableImpl(URL).java.lang.Exceptionprotected abstract boolean isUnmodifiedStatus(VCSStatus status)
protected int doitImpl()
throws java.lang.Exception
VCSCommanddoitImpl in class VCSCommandjava.lang.Exceptionprotected Annotations getAnnotations(java.io.File file) throws java.lang.Exception
java.lang.Exceptionprotected abstract Annotations getAnnotations(java.net.URL url) throws java.lang.Exception
java.lang.Exceptionprotected java.text.DateFormat getDateFormat()