@Deprecated public class InstantiateAction extends NodeAction
DataObject.isTemplate().Presenter.Menu, 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 |
|---|
InstantiateAction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
enable(Node[] activatedNodes)
Deprecated.
|
HelpCtx |
getHelpCtx()
Deprecated.
|
String |
getName()
Deprecated.
|
static Set<DataObject> |
instantiateTemplate(DataObject obj)
Deprecated.
Instantiate a template object.
|
protected void |
performAction(Node[] activatedNodes)
Deprecated.
|
actionPerformed, addNotify, createContextAwareInstance, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChangeasynchronous, getMenuPresenter, getPopupPresenter, getToolbarPresenterclearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, linkActions, putValue, setIconaddPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplaceclone, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, putValue, removePropertyChangeListenerprotected boolean enable(Node[] activatedNodes)
enable in class NodeActionprotected void performAction(Node[] activatedNodes)
performAction in class NodeActionpublic String getName()
getName in class SystemActionpublic HelpCtx getHelpCtx()
getHelpCtx in interface HelpCtx.ProvidergetHelpCtx in class 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 August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.