de.uni_paderborn.fujaba.coobra.actions
Class UpdateAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.uni_paderborn.fujaba.coobra.actions.UpdateAction
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

public class UpdateAction
extends javax.swing.AbstractAction
implements de.tu_bs.coobra.LocalRepository.ProgressCallback

Update the local repository from the server

Version:
$Revision: 1.24 $
Author:
$Author: lowende $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
static java.lang.String MESSAGE_CLASS_MERGE_CONFLICT
          No comment provided by developer, please add a comment to improve documentation.
(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
UpdateAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          called when action should be performed
 void progress(int percent)
          called when update/restore/store progress
(package private)  void update()
          perform the update
 
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

progress

ProgressDialog progress
dialog for displaying progress


MESSAGE_CLASS_MERGE_CONFLICT

public static final java.lang.String MESSAGE_CLASS_MERGE_CONFLICT
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

UpdateAction

public UpdateAction()
Method Detail

progress

public void progress(int percent)
called when update/restore/store progress

Specified by:
progress in interface de.tu_bs.coobra.LocalRepository.ProgressCallback
Parameters:
percent - progress percentage

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
called when action should be performed

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e -

update

void update()
perform the update