com.borland.primetime.teamdev.vcs
Class CommitAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.borland.primetime.teamdev.vcs.CommitAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public abstract class CommitAction
extends javax.swing.AbstractAction

A CommitAction is passed to the VCSCommitBrowser as the action to be executed when the user press OK in trhe dialog box. This Action simply adds a couple of m,ethods to report success or failure and the error message associated.

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CommitAction()
           
 
Method Summary
abstract  java.lang.String getErrorMessage()
           
abstract  boolean wasCommitSuccessfull()
           
 
Methods inherited from class javax.swing.AbstractAction
actionPerformed, addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommitAction

public CommitAction()
Method Detail

wasCommitSuccessfull

public abstract boolean wasCommitSuccessfull()

getErrorMessage

public abstract java.lang.String getErrorMessage()