public class ImportAction extends IsisActionWithBackup
| Modifier and Type | Field and Description |
|---|---|
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.
|
rootdialog, usedchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
ImportAction(JDialog dialog,
File source,
File root,
FileSelectionTableModel modelNewItems,
FileSelectionTableModel modelItems)
Deprecated.
Import action constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
actionPerformed, finish, isUsed, needDisposeaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected FileSelectionTableModel model
protected FileSelectionTableModel modelWithBackup
protected File source
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)protected boolean prepare()
IsisActionprepare 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 directorygetFilesToBackup in class IsisActionWithBackupCopyright © 1999-2012 CodeLutin. All Rights Reserved.