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@Deprecated public class InstantiateAction extends org.openide.util.actions.NodeAction
DataObject.isTemplate().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 | Description |
|---|---|
InstantiateAction() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
enable(org.openide.nodes.Node[] activatedNodes) |
Deprecated.
|
org.openide.util.HelpCtx |
getHelpCtx() |
Deprecated.
|
String |
getName() |
Deprecated.
|
static Set<DataObject> |
instantiateTemplate(DataObject obj) |
Deprecated.
Instantiate a template object.
|
protected void |
performAction(org.openide.nodes.Node[] activatedNodes) |
Deprecated.
|
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListenerasynchronous, getMenuPresenter, getPopupPresenter, getToolbarPresenteractionPerformed, addNotify, createContextAwareInstance, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChangeclone, getClass, notify, notifyAll, toString, wait, wait, waitprotected boolean enable(org.openide.nodes.Node[] activatedNodes)
enable in class org.openide.util.actions.NodeActionprotected void performAction(org.openide.nodes.Node[] activatedNodes)
performAction in class org.openide.util.actions.NodeActionpublic String getName()
getName in class org.openide.util.actions.SystemActionpublic org.openide.util.HelpCtx getHelpCtx()
getHelpCtx in interface org.openide.util.HelpCtx.ProvidergetHelpCtx in class org.openide.util.actions.SystemActionpublic static Set<DataObject> instantiateTemplate(DataObject obj) throws IOException
customizer (if there is one).
Also the node's default action, if any, is run.obj - the template to useIOException - on I/O errorDataObject.createFromTemplate(org.openide.loaders.DataFolder)Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.