当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
RenameAction (NetBeans Actions API) - NetBeans API Javadoc 5.0.0
org.openide.actions
Class RenameAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.util.actions.NodeAction
org.openide.actions.RenameAction
- All Implemented Interfaces:
- Action, ActionListener, ContextAwareAction, EventListener, Externalizable, HelpCtx.Provider, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, Serializable
- public class RenameAction
- extends NodeAction
Rename a node.
- See Also:
Node.setName(java.lang.String)
,
Serialized Form
Methods inherited from class org.openide.util.actions.SystemAction |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, linkActions, putValue, setIcon |
Methods inherited from class org.openide.util.SharedClassObject |
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace |
RenameAction
public RenameAction()
surviveFocusChange
protected boolean surviveFocusChange()
getName
public String getName()
getHelpCtx
public HelpCtx getHelpCtx()
enable
protected boolean enable(Node[] activatedNodes)
performAction
protected void performAction(Node[] activatedNodes)
asynchronous
protected boolean asynchronous()