当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
WorkspaceSwitchAction (NetBeans APIs) - NetBeans API Javadoc 4.1.0
org.openide.actions
Class WorkspaceSwitchAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.actions.WorkspaceSwitchAction
- All Implemented Interfaces:
- Action, ActionListener, EventListener, Externalizable, HelpCtx.Provider, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, Serializable
Deprecated. No longer used since there are no more workspaces.
- public class WorkspaceSwitchAction
- extends CallableSystemAction
Switch to a different workspace.
- See Also:
Workspace.activate()
,
Serialized Form
Methods inherited from class org.openide.util.actions.SystemAction |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, initialize, isEnabled, linkActions, putValue, setEnabled, setIcon |
Methods inherited from class org.openide.util.SharedClassObject |
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplace |
WorkspaceSwitchAction
public WorkspaceSwitchAction()
- Deprecated.
getName
public String getName()
- Deprecated.
- Description copied from class:
SystemAction
- Get a human presentable name of the action.
This may be
presented as an item in a menu.
Using the normal menu presenters, an included ampersand
before a letter will be treated as the name of a mnemonic.
- Specified by:
getName
in class SystemAction
- Returns:
- the name of the action
getHelpCtx
public HelpCtx getHelpCtx()
- Deprecated.
- Description copied from class:
SystemAction
- Get a help context for the action.
- Specified by:
getHelpCtx
in interface HelpCtx.Provider
- Specified by:
getHelpCtx
in class SystemAction
- Returns:
- the help context for this action
getMenuPresenter
public JMenuItem getMenuPresenter()
- Deprecated.
- Description copied from interface:
Presenter.Menu
- Get a menu item that can present this action in a
JMenu
.
- Specified by:
getMenuPresenter
in interface Presenter.Menu
- Overrides:
getMenuPresenter
in class CallableSystemAction
performAction
public void performAction()
- Deprecated.
- Not implemented. May only be used in a menu presenter, with the children performing the action.
- Specified by:
performAction
in class CallableSystemAction