textviewer.actions
Class SaveAsLocalAction
java.lang.Object
javax.swing.AbstractAction
csdk.v1_0.helper.application.AbstractApplicationAction<TextViewer>
textviewer.actions.core.SaveAsAction
textviewer.actions.SaveAsLocalAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class SaveAsLocalAction
- extends SaveAsAction
Ação de abertura do arquivo
- Author:
- Tecgraf/PUC-Rio
- See Also:
- Serialized Form
| 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 |
SaveAsLocalAction
public SaveAsLocalAction(TextViewer textViewer)
- Construtor
- Parameters:
textViewer - a aplicação
selectFile
protected IFile selectFile()
throws Exception
- Busca o arquivo
- Specified by:
selectFile in class SaveAsAction
- Returns:
- o arquivo
- Throws:
Exception - em caso de erro.
Copyright © 2013–2014 Tecgraf/PUC-Rio. All rights reserved.