ActionListener
, Externalizable
, Serializable
, EventListener
, Action
, org.openide.util.actions.Presenter
, org.openide.util.actions.Presenter.Menu
, org.openide.util.actions.Presenter.Popup
, org.openide.util.actions.Presenter.Toolbar
, org.openide.util.ContextAwareAction
, org.openide.util.HelpCtx.Provider
public final class NewAction
extends org.openide.util.actions.NodeAction
Node.getNewTypes()
,
Serialized FormACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor | Description |
---|---|
NewAction() |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
asynchronous() |
|
Action |
createContextAwareInstance(org.openide.util.Lookup actionContext) |
|
protected boolean |
enable(org.openide.nodes.Node[] activatedNodes) |
|
org.openide.util.HelpCtx |
getHelpCtx() |
|
JMenuItem |
getMenuPresenter() |
|
String |
getName() |
|
JMenuItem |
getPopupPresenter() |
|
protected void |
performAction(org.openide.nodes.Node[] activatedNodes) |
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener
actionPerformed, addNotify, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChange
clone, getClass, notify, notifyAll, toString, wait, wait, wait
protected void performAction(org.openide.nodes.Node[] activatedNodes)
performAction
in class org.openide.util.actions.NodeAction
protected boolean asynchronous()
asynchronous
in class org.openide.util.actions.CallableSystemAction
protected boolean enable(org.openide.nodes.Node[] activatedNodes)
enable
in class org.openide.util.actions.NodeAction
public String getName()
getName
in class org.openide.util.actions.SystemAction
public org.openide.util.HelpCtx getHelpCtx()
getHelpCtx
in interface org.openide.util.HelpCtx.Provider
getHelpCtx
in class org.openide.util.actions.SystemAction
public JMenuItem getMenuPresenter()
getMenuPresenter
in interface org.openide.util.actions.Presenter.Menu
getMenuPresenter
in class org.openide.util.actions.CallableSystemAction
public JMenuItem getPopupPresenter()
getPopupPresenter
in interface org.openide.util.actions.Presenter.Popup
getPopupPresenter
in class org.openide.util.actions.CallableSystemAction
public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
createContextAwareInstance
in interface org.openide.util.ContextAwareAction
createContextAwareInstance
in class org.openide.util.actions.NodeAction
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.