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.
Constructor and Description |
---|
VCSDialogCommitter() |
VCSDialogCommitter(VCSOptionsCustomizer optionsCustomizer) |
Modifier and Type | Method and Description |
---|---|
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) |
public VCSDialogCommitter()
public VCSDialogCommitter(VCSOptionsCustomizer optionsCustomizer)
public void vetoableChange(java.beans.PropertyChangeEvent e) throws java.beans.PropertyVetoException
vetoableChange
in interface java.beans.VetoableChangeListener
java.beans.PropertyVetoException
protected boolean validateOptions()
protected boolean doCommitOperation(java.util.Map<?,?> options) throws java.lang.Exception
java.lang.Exception
protected boolean doCommitOperation() throws java.lang.Exception
java.lang.Exception
- if a critical exception occurred.protected void runPostOperationAWT()
protected VCSExceptionHandler getExceptionHandler()
protected boolean isFinished()