Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.jdeveloper.vcs.annotations
Class AnnotationsCommand

java.lang.Object
  extended by oracle.ide.controller.Command
      extended by oracle.jdeveloper.vcs.spi.VCSCommand
          extended by oracle.jdeveloper.vcs.annotations.AnnotationsCommand


public abstract class AnnotationsCommand
extends VCSCommand
Since:
11.1.1.0.0

Field Summary

 

Fields inherited from class oracle.jdeveloper.vcs.spi.VCSCommand
CANCEL, ERROR, NOOP, OK

 

Fields inherited from class oracle.ide.controller.Command
context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, type

 

Constructor Summary
protected AnnotationsCommand(int id)
           

 

Method Summary
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)
           

 

Methods inherited from class oracle.jdeveloper.vcs.spi.VCSCommand
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, updateReadOnlyStates

 

Methods inherited from class oracle.ide.controller.Command
enableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getType, isGlobal, setContext, setData, undo

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AnnotationsCommand

protected AnnotationsCommand(int id)

Method Detail

getAnnotationsAction

public static final IdeAction getAnnotationsAction(java.lang.String command,
                                                   java.lang.String vcsId)

isAvailableImpl

protected boolean isAvailableImpl()
                           throws java.lang.Exception
Description copied from class: VCSCommand
Asks whether the command is available for the current context.
Overrides:
isAvailableImpl in class VCSCommand
Returns:
true if the command style is VCSCommandStyle.NORMAL, otherwise calls VCSCommand.isAvailableImpl(Locatable[]) with contextual locatables.
Throws:
java.lang.Exception

isAvailableImpl

protected boolean isAvailableImpl(Locatable locatable)
                           throws java.lang.Exception
Description copied from class: VCSCommand
Asks whether the command is available for the current context.
Overrides:
isAvailableImpl in class VCSCommand
Returns:
false if the Locatable's URL is null or filtered by the locatable URL filter, otherwhise calls otherwise calls VCSCommand.isAvailableImpl(URL).
Throws:
java.lang.Exception

isUnmodifiedStatus

protected abstract boolean isUnmodifiedStatus(VCSStatus status)

doitImpl

protected int doitImpl()
                throws java.lang.Exception
Description copied from class: VCSCommand
Executes the actions associated with a specific version control command (implementation).
Specified by:
doitImpl in class VCSCommand
Returns:
Command.OK, Command.CANCEL, VCSCommand.NOOP, VCSCommand.ERROR - or any negative value to indicate command failure.
Throws:
java.lang.Exception

getAnnotations

protected Annotations getAnnotations(java.io.File file)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getAnnotations

protected abstract Annotations getAnnotations(java.net.URL url)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getDateFormat

protected java.text.DateFormat getDateFormat()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.