public abstract class AbstractExportFileAction extends AbstractVersionTreeNodeAction
| Constructor and Description |
|---|
AbstractExportFileAction(VersionTree tree,
java.lang.String name,
csbase.logic.FileInfo file)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected abstract void |
appletExport(csbase.logic.FileInfo source)
Exportação via applet.
|
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.
|
protected abstract tecgraf.ftc.common.logic.RemoteFileChannelInfo |
prepareDownload(csbase.logic.FileInfo source)
Exportação via aplicação.
|
getName, getTree, getWindowpublic AbstractExportFileAction(VersionTree tree, java.lang.String name, csbase.logic.FileInfo file)
tree - Árvore que detêm o nó fonte da ação.name - Nome da ação.file - Arquivo a ser exportado.public void actionPerformed(java.awt.event.ActionEvent e)
protected abstract void appletExport(csbase.logic.FileInfo source)
source - Arquivo a ser exportado.protected abstract tecgraf.ftc.common.logic.RemoteFileChannelInfo prepareDownload(csbase.logic.FileInfo source)
throws java.rmi.RemoteException
source - Arquivo a ser exportado.java.rmi.RemoteException - EM caso de falha na operação.protected void export(java.lang.Object algoId,
java.lang.String filePath,
java.lang.String dialogTitle)
algoId - .filePath - .dialogTitle - .Copyright © 2016. All Rights Reserved.