oracle.jdeveloper.vcs.spi
Class VCSDialogCommitter
java.lang.Object
oracle.jdeveloper.vcs.spi.VCSDialogCommitter
- All Implemented Interfaces:
- java.util.EventListener, java.beans.VetoableChangeListener
- 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VCSDialogCommitter
public VCSDialogCommitter()
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 abstract 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.
getExceptionHandler
protected VCSExceptionHandler getExceptionHandler()
- Get the exception handler used to report exceptions from this dialog committer.
-
- Returns:
- a VCSExceptionHandler.
Copyright © 1997, 2004, Oracle. All rights reserved.