public class FileSystemAction extends SystemAction implements ContextAwareAction, Presenter.Menu, Presenter.Popup
DataObject
is selected and then retrieves SystemActions from its
FileSystem.Presenter.Popup, Presenter.ToolbarPROP_ENABLED, PROP_ICONACCELERATOR_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, setIconaddNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplaceclone, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic JMenuItem getMenuPresenter()
getMenuPresenter in interface Presenter.Menupublic JMenuItem getPopupPresenter()
getPopupPresenter in interface Presenter.Popuppublic String getName()
getName in class SystemActionpublic HelpCtx getHelpCtx()
getHelpCtx in interface HelpCtx.ProvidergetHelpCtx in class SystemActionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class SystemActionpublic Action createContextAwareInstance(Lookup actionContext)
ContextAwareAction interface method.createContextAwareInstance in interface ContextAwareActionBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.