public abstract class OpenAction extends csdk.v2.helper.application.AbstractApplicationAction<TextViewer>
changeSupport, 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 |
|---|
OpenAction(TextViewer textViewer)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent ae) |
protected abstract csdk.v2.api.filesystem.IFile |
selectFile()
Busca o arquivo
|
getApplication, getClassString, getString, hasClassString, hasString, setIcon, setName, setTooltipaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic OpenAction(TextViewer textViewer)
textViewer - a aplicação.protected abstract csdk.v2.api.filesystem.IFile selectFile()
throws Exception
Exception - em caso de erro.public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListeneractionPerformed in class csdk.v2.helper.application.AbstractApplicationAction<TextViewer>Copyright © 2017 Tecgraf/PUC-Rio. All rights reserved.