public class FileSystemAction extends SystemAction implements ContextAwareAction, Presenter.Menu, Presenter.Popup
DataObject
is selected and then retrieves SystemAction
s from its
FileSystem
.Presenter.Popup, Presenter.Toolbar
PROP_ENABLED, PROP_ICON
ACCELERATOR_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 |
---|
FileSystemAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
Action |
createContextAwareInstance(Lookup actionContext)
Implements
ContextAwareAction interface method. |
HelpCtx |
getHelpCtx() |
JMenuItem |
getMenuPresenter() |
String |
getName() |
JMenuItem |
getPopupPresenter() |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, initialize, isEnabled, linkActions, putValue, setEnabled, setIcon
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplace
clone, getClass, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public JMenuItem getMenuPresenter()
getMenuPresenter
in interface Presenter.Menu
public JMenuItem getPopupPresenter()
getPopupPresenter
in interface Presenter.Popup
public String getName()
getName
in class SystemAction
public HelpCtx getHelpCtx()
getHelpCtx
in interface HelpCtx.Provider
getHelpCtx
in class SystemAction
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class SystemAction
public Action createContextAwareInstance(Lookup actionContext)
ContextAwareAction
interface method.createContextAwareInstance
in interface ContextAwareAction