de.uni_paderborn.fujaba.coobra.actions
Class CheckoutVersionAction
java.lang.Object
javax.swing.AbstractAction
de.uni_paderborn.fujaba.coobra.actions.CheckoutAction
de.uni_paderborn.fujaba.coobra.actions.CheckoutVersionAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, de.tu_bs.coobra.LocalRepository.ProgressCallback, java.io.Serializable
- Direct Known Subclasses:
- CheckoutAndApplyPatchAction
- public class CheckoutVersionAction
- extends CheckoutAction
Displays a dialog to let the user select a project version to be checked out
- Version:
- $Revision: 1.6.2.4 $
- Author:
- christian.schneider@uni-kassel.de
- 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 |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent event)
Perform the action |
protected de.tu_bs.coobra.LocalRepository |
createRepository()
|
protected CheckoutVersionChooser |
createVersionChooser()
|
protected de.tu_bs.coobra.LocalRepository.UpdateFilter |
getFilter()
Get the filter attribute of the CheckoutVersionAction object |
boolean |
isPatch()
Get the patch attribute of the CheckoutVersionAction object |
void |
setPatch(boolean patch)
Sets the patch attribute of the CheckoutVersionAction object |
protected boolean |
shouldConnectOnly()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckoutVersionAction
public CheckoutVersionAction()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Perform the action
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class CheckoutAction
- Parameters:
event
- the ActionEvent for performing the action
createRepository
protected de.tu_bs.coobra.LocalRepository createRepository()
- Overrides:
createRepository
in class CheckoutAction
- Returns:
- new LocalRepository()
createVersionChooser
protected CheckoutVersionChooser createVersionChooser()
- Returns:
getFilter
protected de.tu_bs.coobra.LocalRepository.UpdateFilter getFilter()
- Get the filter attribute of the CheckoutVersionAction object
- Returns:
- The filter value
shouldConnectOnly
protected boolean shouldConnectOnly()
- No comment provided by developer, please add a comment to improve documentation.
- Overrides:
shouldConnectOnly
in class CheckoutAction
- Returns:
- No description provided
isPatch
public boolean isPatch()
- Get the patch attribute of the CheckoutVersionAction object
- Returns:
- The patch value
setPatch
public void setPatch(boolean patch)
- Sets the patch attribute of the CheckoutVersionAction object
- Parameters:
patch
- The new patch value