JDeveloper SCM API

oracle.ide.scm.op
Class SCMNoFileOperation

java.lang.Object
  |
  +--oracle.ide.scm.op.SCMNoFileOperation
All Implemented Interfaces:
SCMOperation

public abstract class SCMNoFileOperation
extends java.lang.Object
implements SCMOperation

Client adapter for fileless operations. Deferred methods are :


Constructor Summary
SCMNoFileOperation()
           
 
Method Summary
abstract  boolean isEnabled(boolean control)
          Asks whether this operation can be enabled depending on general client state.
 boolean isEnabled(boolean control, SCMContext context)
          Asks whether this operation can be enabled depending on general client state.
abstract  void operate()
          Provides notification that the operation has been invoked.
 
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

SCMNoFileOperation

public SCMNoFileOperation()
Method Detail

operate

public abstract void operate()
                      throws SCMException
Provides notification that the operation has been invoked.
Throws:
SCMException - if a client error is raised to abort the operation.

isEnabled

public boolean isEnabled(boolean control,
                         SCMContext context)
Description copied from interface: SCMOperation
Asks whether this operation can be enabled depending on general client state. An indication of whether source control is currently operative is given to assist the decision.
Specified by:
isEnabled in interface SCMOperation
Following copied from interface: oracle.ide.scm.SCMOperation
Parameters:
control - source control enabled state indicator.
context - the IDE's current context.
Returns:
a verdict on whether the operation is permitted.

isEnabled

public abstract boolean isEnabled(boolean control)
Asks whether this operation can be enabled depending on general client state. An indication of whether source control is currently operative is given to assist the decision.
Parameters:
control - source control enabled state indicator.
Returns:
a verdict on whether the operation is permitted.

Copyright © 2002 Oracle Corporation