Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.jdeveloper.vcs.share
Class ShareApplicationCommand

java.lang.Object
  extended by oracle.ide.controller.Command
      extended by oracle.jdeveloper.vcs.spi.VCSCommand
          extended by oracle.jdeveloper.vcs.share.ShareApplicationCommand

public class ShareApplicationCommand
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
ShareApplicationCommand()
           
 
Method Summary
protected  int doitImpl()
          Executes the actions associated with a specific version control command (implementation).
protected  java.lang.String getDialogItemDescription(java.lang.String systemLabel)
           
protected  java.lang.String getDialogTitle()
           
protected  Node getNodeOperand()
           
protected static IdeAction getShareAction(int cmdId, java.lang.String cmd, java.lang.String text)
           
static IdeAction getShareApplicationAction()
           
protected  boolean isAvailableImpl()
          Asks whether the command is available for the current context.
 
Methods inherited from class oracle.jdeveloper.vcs.spi.VCSCommand
buildContextForEditor, createStatusFilter, doit, fireFileStructureChanged, fireSomeFilesCreated, fireSomeFilesDeleted, getContextLocatables, getExceptionHandler, getExtension, getFilteredSelection, getFilteredSelection, getLocatableURLFilter, getStatusCache, getStatusFilter, getURLFilter, initializeCommandStyle, initializeCommandType, isAvailable, isAvailableImpl, isAvailableImpl, isAvailableImpl, isThreaded, noOp, noOpImpl, reloadBuffers, storeTimestamps, updateReadOnlyStates
 
Methods inherited from class oracle.ide.controller.Command
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

ShareApplicationCommand

public ShareApplicationCommand()
Method Detail

getShareApplicationAction

public static final IdeAction getShareApplicationAction()

getNodeOperand

protected Node getNodeOperand()

getDialogItemDescription

protected java.lang.String getDialogItemDescription(java.lang.String systemLabel)

getDialogTitle

protected java.lang.String getDialogTitle()

getShareAction

protected static final IdeAction getShareAction(int cmdId,
                                                java.lang.String cmd,
                                                java.lang.String text)

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

doitImpl

protected int doitImpl()
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.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

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