public class VersionExportAction extends CommonVersionAction
TAG_ACCELERATOR, TAG_MNEMONIC, TAG_NAME, TAG_TOOLTIPchangeSupport, 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 |
|---|
VersionExportAction(AlgorithmVersionInfoPanel versionInfoPanel,
ImageIcon icon)
Constrói a ação de importar um pacote de versão de algoritmo.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appletExport() |
protected void |
export(Object algoId,
String filePath,
String dialogTitle)
Carrega o arquivo atualmente selecionado em um navegador, permitindo sua
visualização e salvamento no disco rígido.
|
int |
getSelectionMode()
Obtém o modo de seleção do browser para escolha de arquivos.
|
protected void |
handleVersionOperation()
Trata a operação realizada sobre uma ou mais versões selecionadas.
|
protected tecgraf.ftc.common.logic.RemoteFileChannelInfo |
prepareDownload(String targetZipFileName) |
void |
setSelectionMode(int selectionMode)
Atribui o modo de seleção do browser para escolha de arquivos.
|
getName, getSelectedAlgorithm, getSelectedVersion, getWindow, handleActionPerformedactionPerformed, getClassString, getDefaultIcon, getString, getStrokeFromTextgetApplicationaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic VersionExportAction(AlgorithmVersionInfoPanel versionInfoPanel, ImageIcon icon)
versionInfoPanel - painel pai que criou a açãoicon - imagem da açãoprotected void handleVersionOperation()
handleVersionOperation in class CommonVersionActionpublic void setSelectionMode(int selectionMode)
selectionMode - modo de seleção do browser de arquivospublic int getSelectionMode()
protected void appletExport()
protected tecgraf.ftc.common.logic.RemoteFileChannelInfo prepareDownload(String targetZipFileName) throws RemoteException
RemoteExceptionCopyright © 2016. All rights reserved.