public class NewTemplateAction extends NodeAction
DataObject.isTemplate(),
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static interface |
NewTemplateAction.Cookie
Cookie that can be implemented by a node if it wishes to have a
special templates wizard.
|
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 |
|---|
NewTemplateAction() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
asynchronous() |
Action |
createContextAwareInstance(Lookup actionContext)
Implements
ContextAwareAction interface method. |
protected boolean |
enable(Node[] activatedNodes) |
HelpCtx |
getHelpCtx() |
JMenuItem |
getMenuPresenter() |
String |
getName() |
JMenuItem |
getPopupPresenter() |
static Node |
getTemplateRoot()
Create a hierarchy of templates.
|
Component |
getToolbarPresenter() |
protected void |
performAction(Node[] activatedNodes) |
actionPerformed, addNotify, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChangeclearSharedData, 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 void performAction(Node[] activatedNodes)
performAction in class NodeActionprotected boolean asynchronous()
asynchronous in class CallableSystemActionprotected boolean enable(Node[] activatedNodes)
enable in class NodeActionpublic String getName()
getName in class SystemActionpublic HelpCtx getHelpCtx()
getHelpCtx in interface HelpCtx.ProvidergetHelpCtx in class SystemActionpublic JMenuItem getMenuPresenter()
getMenuPresenter in interface Presenter.MenugetMenuPresenter in class CallableSystemActionpublic Component getToolbarPresenter()
getToolbarPresenter in interface Presenter.ToolbargetToolbarPresenter in class CallableSystemActionpublic JMenuItem getPopupPresenter()
getPopupPresenter in interface Presenter.PopupgetPopupPresenter in class CallableSystemActionpublic static Node getTemplateRoot()
public Action createContextAwareInstance(Lookup actionContext)
ContextAwareAction interface method.createContextAwareInstance in interface ContextAwareActioncreateContextAwareInstance in class NodeActionBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.