public final class NewAction extends NodeAction
Node.getNewTypes()
,
Serialized FormPresenter.Menu, 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 |
---|
NewAction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
asynchronous() |
Action |
createContextAwareInstance(Lookup actionContext) |
protected boolean |
enable(Node[] activatedNodes) |
HelpCtx |
getHelpCtx() |
JMenuItem |
getMenuPresenter() |
String |
getName() |
JMenuItem |
getPopupPresenter() |
protected void |
performAction(Node[] activatedNodes) |
actionPerformed, addNotify, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChange
getToolbarPresenter
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, linkActions, putValue, setIcon
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace
clone, getClass, notify, notifyAll, toString, wait, wait, wait
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener
protected void performAction(Node[] activatedNodes)
performAction
in class NodeAction
protected boolean asynchronous()
asynchronous
in class CallableSystemAction
protected boolean enable(Node[] activatedNodes)
enable
in class NodeAction
public String getName()
getName
in class SystemAction
public HelpCtx getHelpCtx()
getHelpCtx
in interface HelpCtx.Provider
getHelpCtx
in class SystemAction
public JMenuItem getMenuPresenter()
getMenuPresenter
in interface Presenter.Menu
getMenuPresenter
in class CallableSystemAction
public JMenuItem getPopupPresenter()
getPopupPresenter
in interface Presenter.Popup
getPopupPresenter
in class CallableSystemAction
public Action createContextAwareInstance(Lookup actionContext)
createContextAwareInstance
in interface ContextAwareAction
createContextAwareInstance
in class NodeAction