站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

WorkspaceSwitchAction (NetBeans APIs) - NetBeans API Javadoc 4.1.0


org.openide.actions
Class WorkspaceSwitchAction

java.lang.Object
  extended byorg.openide.util.SharedClassObject
      extended byorg.openide.util.actions.SystemAction
          extended byorg.openide.util.actions.CallableSystemAction
              extended byorg.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

Nested Class Summary
 
Nested classes inherited from class org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
 
Fields inherited from class org.openide.util.actions.SystemAction
PROP_ENABLED, PROP_ICON
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
WorkspaceSwitchAction()
          Deprecated.  
 
Method Summary
 HelpCtx getHelpCtx()
          Deprecated. Get a help context for the action.
 JMenuItem getMenuPresenter()
          Deprecated. Get a menu item that can present this action in a JMenu.
 String getName()
          Deprecated. Get a human presentable name of the action.
 void performAction()
          Deprecated. Not implemented.
 
Methods inherited from class org.openide.util.actions.CallableSystemAction
actionPerformed, asynchronous, getPopupPresenter, getToolbarPresenter
 
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
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

WorkspaceSwitchAction

public WorkspaceSwitchAction()
Deprecated. 
Method Detail

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


Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.