fr.ifremer.isisfish.ui.util
Class IsisActionWithBackup

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by fr.ifremer.isisfish.ui.util.IsisAction
          extended by fr.ifremer.isisfish.ui.util.IsisActionWithBackup
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
ImportAction

Deprecated. C'est pas evident de faire des Actions swing avec jaxx

public abstract class IsisActionWithBackup
extends IsisAction

This abstract action perform a backup action.

Version:
$Revision: 2516 $ Last update : $Date: 2009-08-24 10:24:04 +0200 (lun., 24 août 2009) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  java.io.File root
          Deprecated. Root directory of files to be backupped.
 
Fields inherited from class fr.ifremer.isisfish.ui.util.IsisAction
dialog, used
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
protected IsisActionWithBackup(javax.swing.JDialog dialog, java.io.File root)
          Deprecated. Constructor.
 
Method Summary
protected abstract  java.util.List<java.lang.String> getFilesToBackup()
          Deprecated. obtain the list of relative path to root directory needed to be backuped in #backupRoot directory
protected  void perform(java.awt.event.ActionEvent e)
          Deprecated. Just perform a BackupAction.
 
Methods inherited from class fr.ifremer.isisfish.ui.util.IsisAction
actionPerformed, finish, isUsed, needDispose, prepare
 
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

root

protected java.io.File root
Deprecated. 
Root directory of files to be backupped.

Constructor Detail

IsisActionWithBackup

protected IsisActionWithBackup(javax.swing.JDialog dialog,
                               java.io.File root)
Deprecated. 
Constructor.

Parameters:
dialog - dialog ???
root - root directory of files to be backupped
Method Detail

getFilesToBackup

protected abstract java.util.List<java.lang.String> getFilesToBackup()
Deprecated. 
obtain the list of relative path to root directory needed to be backuped in #backupRoot directory

Returns:
the list of relative path to files to backup

perform

protected void perform(java.awt.event.ActionEvent e)
Deprecated. 
Just perform a BackupAction. Need to be overridden and called by super.perform(e)

Specified by:
perform in class IsisAction
Parameters:
e - event source


Copyright © 1999-2010 CodeLutin. All Rights Reserved.