|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
fr.ifremer.isisfish.ui.util.IsisAction
fr.ifremer.isisfish.ui.util.IsisActionWithBackup
fr.ifremer.isisfish.ui.script.action.ImportAction
public class ImportAction
Action for import zip content into isis script directory.
| Field Summary | |
|---|---|
protected FileSelectionTableModel |
model
Deprecated. Model to contains new files to add from import. |
protected FileSelectionTableModel |
modelWithBackup
Deprecated. Model to contains files conflicted from import. |
protected File |
source
Deprecated. Location of archive to import. |
| Fields inherited from class fr.ifremer.isisfish.ui.util.IsisActionWithBackup |
|---|
root |
| 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 | |
|---|---|
ImportAction(JDialog dialog,
File source,
File root,
FileSelectionTableModel modelNewItems,
FileSelectionTableModel modelItems)
Deprecated. Import action constructor. |
|
| Method Summary | |
|---|---|
protected List<String> |
getFilesToBackup()
Deprecated. obtain the list of relative path to IsisActionWithBackup.root directory needed
to be backuped in #backupRoot directory |
protected void |
perform(ActionEvent e)
Deprecated. Just perform a BackupAction. |
protected boolean |
prepare()
Deprecated. Prepare data for action, and find out if there is really something to do here. |
| Methods inherited from class fr.ifremer.isisfish.ui.util.IsisAction |
|---|
actionPerformed, finish, isUsed, needDispose |
| 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 |
|---|
protected FileSelectionTableModel model
protected FileSelectionTableModel modelWithBackup
protected File source
| Constructor Detail |
|---|
public ImportAction(JDialog dialog,
File source,
File root,
FileSelectionTableModel modelNewItems,
FileSelectionTableModel modelItems)
dialog - dialog ???source - zip fileroot - destination directorymodelNewItems - added files model (for selection)modelItems - conflict files model (for selection)| Method Detail |
|---|
protected boolean prepare()
IsisAction
prepare in class IsisActiontrue if there is something to do here,
false otherwiseprotected void perform(ActionEvent e)
IsisActionWithBackupBackupAction.
Need to be overridden and called by super.perform(e)
perform in class IsisActionWithBackupe - event sourceprotected List<String> getFilesToBackup()
IsisActionWithBackupIsisActionWithBackup.root directory needed
to be backuped in #backupRoot directory
getFilesToBackup in class IsisActionWithBackup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||