|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
de.uni_paderborn.fujaba.coobra.actions.RestoreAction
Restore all changes from file
Nested Class Summary | |
private class |
RestoreAction.WorkThread
No comment provided by developer, please add a comment to improve documentation. |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
(package private) javax.swing.JFileChooser |
chooser
For choosing the filename to restore to |
(package private) ProgressDialog |
progress
dialog for displaying progress |
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 | |
RestoreAction()
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Perform the action |
void |
progress(int percent)
called when update/restore/store progress |
(package private) void |
restore(java.lang.String filename)
restore a repository from file |
void |
restoreWithProgressDialog(java.lang.String filename)
restore CoObRA repository while diaplying a progress dialog |
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 |
Field Detail |
ProgressDialog progress
javax.swing.JFileChooser chooser
Constructor Detail |
public RestoreAction()
Method Detail |
public void progress(int percent)
progress
in interface de.tu_bs.coobra.LocalRepository.ProgressCallback
percent
- progress percentagepublic void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
event
- the ActionEvent for performing the actionpublic void restoreWithProgressDialog(java.lang.String filename)
filename
- where to load fromvoid restore(java.lang.String filename)
filename
- where to load from
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |