public class VersionExportAction extends CommonVersionAction
TAG_ACCELERATOR, TAG_MNEMONIC, TAG_NAME, TAG_TOOLTIP| Constructor and Description |
|---|
VersionExportAction(AlgorithmVersionInfoPanel versionInfoPanel,
javax.swing.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(java.lang.Object algoId,
java.lang.String filePath,
java.lang.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(java.lang.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, getStrokeFromTextgetApplicationpublic VersionExportAction(AlgorithmVersionInfoPanel versionInfoPanel, javax.swing.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(java.lang.String targetZipFileName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected void export(java.lang.Object algoId,
java.lang.String filePath,
java.lang.String dialogTitle)
algoId - .filePath - .dialogTitle - .Copyright © 2018. All Rights Reserved.