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

E13403-08

oracle.jdeveloper.vcs.spi
Class VCSDialogCommitter

java.lang.Object
  extended by oracle.jdeveloper.vcs.spi.VCSDialogCommitter
All Implemented Interfaces:
java.beans.VetoableChangeListener, java.util.EventListener

public abstract class VCSDialogCommitter
extends java.lang.Object
implements java.beans.VetoableChangeListener

Listener class to assist with performing version client command UI. By associating a vetoable change listener of this type with a JEWTDialog, the dialog will not close until actions are finished and the user will be prevented from interacting with the dialog for this duration.

Since:
9.0.5

Constructor Summary
VCSDialogCommitter()
           
VCSDialogCommitter(VCSOptionsCustomizer optionsCustomizer)
           
 
Method Summary
protected  boolean doCommitOperation()
          Performs the operation for committing the dialog.
protected  boolean doCommitOperation(java.util.Map<?,?> options)
           
protected  VCSExceptionHandler getExceptionHandler()
          Get the exception handler used to report exceptions from this dialog committer.
protected  boolean isFinished()
          Asked before the dialog is disposed.
protected  void runPostOperationAWT()
           
protected  boolean validateOptions()
          Performs validation of dialog contents (options).
 void vetoableChange(java.beans.PropertyChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCSDialogCommitter

public VCSDialogCommitter()

VCSDialogCommitter

public VCSDialogCommitter(VCSOptionsCustomizer optionsCustomizer)
Method Detail

vetoableChange

public void vetoableChange(java.beans.PropertyChangeEvent e)
                    throws java.beans.PropertyVetoException
Specified by:
vetoableChange in interface java.beans.VetoableChangeListener
Throws:
java.beans.PropertyVetoException

validateOptions

protected boolean validateOptions()
Performs validation of dialog contents (options).

Returns:
a verdict on whether options were found to be valid.

doCommitOperation

protected boolean doCommitOperation(java.util.Map<?,?> options)
                             throws java.lang.Exception
Throws:
java.lang.Exception

doCommitOperation

protected boolean doCommitOperation()
                             throws java.lang.Exception
Performs the operation for committing the dialog.

Returns:
a verdict on whether the operation finished without cancellation.
Throws:
java.lang.Exception - if a critical exception occurred.

runPostOperationAWT

protected void runPostOperationAWT()

getExceptionHandler

protected VCSExceptionHandler getExceptionHandler()
Get the exception handler used to report exceptions from this dialog committer.

Returns:
a VCSExceptionHandler.

isFinished

protected boolean isFinished()
Asked before the dialog is disposed.

Returns:
a verdict on whether the dialog can be disposed

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

E13403-08

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