Skip navigation links 
 
oracle.jdeveloper.vcs.patch
Class ApplyPatchCommand
java.lang.Object
  
oracle.ide.controller.Command
      
oracle.jdeveloper.vcs.spi.VCSCommand
          
oracle.jdeveloper.vcs.patch.AbstractPatchCommand
              
oracle.jdeveloper.vcs.patch.ApplyPatchCommand
- 
public class ApplyPatchCommand
 
- extends AbstractPatchCommand
 
 
 
 
  
 
  
 
| Method Summary | 
protected  int | 
doitImpl() 
          Executes the actions associated with a specific version control command (implementation). | 
protected  Locatable[] | 
getLocatablesToApplyPatch() 
            | 
protected  boolean | 
isAvailableImpl() 
          Asks whether the command is available for the current context. | 
protected  void | 
noOpImpl() 
          Performs actions, such as exception notification, when a command exits with the VCSCommand.NOOP code. | 
 
| Methods inherited from class oracle.jdeveloper.vcs.patch.AbstractPatchCommand | 
awtOpenDefaultEditorInFrame, awtRevertNodeReload, checkPatchSourceEmpty, constructDefaultPatchURL, copyStringToClipboard, getContext, getContextProject, getExceptionHandler, getOperationURLs, getOperationWorkingDirectoryURL, getProjectFolderNodes, getURLFilter, 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, reloadBuffers, storeTimestamps, updateReadOnlyStates | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
APPLY_PATCH_CMD
public static final java.lang.String APPLY_PATCH_CMD
APPLY_PATCH_CMD_ID
public static final int APPLY_PATCH_CMD_ID
ApplyPatchCommand
public ApplyPatchCommand()
ApplyPatchCommand
protected ApplyPatchCommand(int id)
getLocatablesToApplyPatch
protected Locatable[] getLocatablesToApplyPatch()
                                         throws java.lang.Exception
- 
- Throws:
 
java.lang.Exception 
 
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 
 
noOpImpl
protected void noOpImpl()
                 throws VCSValidationException
- Description copied from class: 
VCSCommand 
- Performs actions, such as exception notification, when a command exits with the 
VCSCommand.NOOP code. 
- 
- Overrides:
 
noOpImpl in class VCSCommand 
 
- 
- Throws:
 
VCSValidationException 
 
Skip navigation links 
 
Copyright © 1997, 2013, Oracle. All rights reserved.