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

E13403-04

oracle.jdeveloper.vcs.patch
Class CreatePatchCommand

java.lang.Object
  extended by oracle.ide.controller.Command
      extended by oracle.jdeveloper.vcs.spi.VCSCommand
          extended by oracle.jdeveloper.vcs.patch.AbstractPatchCommand
              extended by oracle.jdeveloper.vcs.patch.CreatePatchCommand

public class CreatePatchCommand
extends AbstractPatchCommand


Nested Class Summary
 class CreatePatchCommand.CreatePatchUI
           
 
Field Summary
static java.lang.String CREATE_PATCH_CMD
           
static int CREATE_PATCH_CMD_ID
           
 
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
CreatePatchCommand()
           
 
Method Summary
static java.lang.String createDialogTitle(java.lang.String postfix)
           
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.
protected  boolean isAvailableImpl()
          Asks whether the command is available for the current context.
 
Methods inherited from class oracle.jdeveloper.vcs.patch.AbstractPatchCommand
awtOpenDefaultEditorInFrame, awtRevertNodeReload, checkPatchSourceEmpty, constructDefaultPatchURL, copyStringToClipboard, getContext, getContextProject, getExceptionHandler, getOperationURLs, getOperationWorkingDirectoryURL, getProjectFolderNodes, initializeFileChooserPanel, initializePreferredSizeOfUI, isAvailableImpl, isPatchSourceEmpty, processNodesForProjectOperation, savePatchToClipboard, savePatchToURL, saveStringAsURL, showSelectPatchContextDialog
 
Methods inherited from class oracle.jdeveloper.vcs.spi.VCSCommand
buildContextForEditor, createStatusFilter, doit, fireFileStructureChanged, fireSomeFilesCreated, fireSomeFilesDeleted, getContextLocatables, getExtension, getFilteredSelection, getFilteredSelection, getLocatableURLFilter, getStatusCache, getStatusFilter, initializeCommandStyle, initializeCommandType, isAvailable, isAvailableImpl, isAvailableImpl, isThreaded, noOp, noOpImpl, reloadBuffers, storeTimestamps, updateReadOnlyStates
 
Methods inherited from class oracle.ide.controller.Command
getAffectedNodes, 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
 

Field Detail

CREATE_PATCH_CMD

public static final java.lang.String CREATE_PATCH_CMD

CREATE_PATCH_CMD_ID

public static final int CREATE_PATCH_CMD_ID
Constructor Detail

CreatePatchCommand

public CreatePatchCommand()
Method Detail

createDialogTitle

public static final java.lang.String createDialogTitle(java.lang.String postfix)

getURLFilter

protected URLFilter getURLFilter()
Description copied from class: VCSCommand
Gets the URL filter controlling locatables in the command context.

Overrides:
getURLFilter in class AbstractPatchCommand
Returns:
the command's URL filter.

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()
                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

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

E13403-04

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