|
JDeveloper SCM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ide.scm.op.SCMFileOperation | +--oracle.ide.scm.op.SCMSingleFileOperation
Client adapter for single-file operations. This class provides some
implementation over SCMFileOperation
that will commonly be useful
to inherit.
Constructor Summary | |
SCMSingleFileOperation()
|
Method Summary | |
void |
execute()
Single file operation's implementation of execute (null selection). |
void |
execute(java.util.Iterator selection,
SCMOptions options)
Single file operation's implementation of execute. |
abstract void |
execute(SCMFile file,
SCMOptions options)
Single file execute. |
SCMDialogSpecification |
getDialogSpecification()
Single file operation's implementation of the dialog specification retrieval method. |
int |
getMaxSelection()
Single file operation's implementation of the max selection size query method, which returns 1 to befit this class's purpose. |
boolean |
isSelectionRecursive()
Single file operation's implementation of the recursive selection query method. |
Methods inherited from class oracle.ide.scm.op.SCMFileOperation |
filter, getFileContext, getFilterDisables, isEnabled, isNodeRemovalCheckEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.scm.SCMOperation |
getControlItem |
Constructor Detail |
public SCMSingleFileOperation()
Method Detail |
public final boolean isSelectionRecursive()
isSelectionRecursive
in class SCMFileOperation
public final int getMaxSelection()
getMaxSelection
in class SCMFileOperation
public SCMDialogSpecification getDialogSpecification()
getDialogSpecification
in class SCMFileOperation
public final void execute(java.util.Iterator selection, SCMOptions options) throws SCMException
execute
in class SCMFileOperation
selection
- an iterator over the filtered file selection, which may be
null if this is a no-file operation.
SCMException
- if a client error is raised to abort execution.public abstract void execute(SCMFile file, SCMOptions options) throws SCMException
file
- The file to perform the operation on. This is guaranteed not
to be null.options
- Options for the operation. This may be null if no options have
been provided for this operation
SCMException
- if a client error is raised to abort executionpublic final void execute() throws SCMException
execute
in class SCMFileOperation
SCMException
- never, since it will not be required.
|
Copyright © 2002 Oracle Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.