com.im.ijc.core/1 5.9.4

com.im.ijc.core.api.actions
Class AbstractViewModeAction

java.lang.Object
  extended by org.openide.util.SharedClassObject
      extended by org.openide.util.actions.SystemAction
          extended by org.openide.util.actions.CallableSystemAction
              extended by com.im.ijc.core.api.actions.AbstractViewModeAction
All Implemented Interfaces:
ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, HelpCtx.Provider
Direct Known Subclasses:
BrowseModeAction, DesignModeAction, QueryModeAction

public class AbstractViewModeAction
extends CallableSystemAction

Action for switching view modes of opened views.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface 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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 HelpCtx getHelpCtx()
           
 String getName()
           
protected  void initialize()
           
 boolean isEnabled()
           
 void performAction()
           
 
Methods inherited from class org.openide.util.actions.CallableSystemAction
actionPerformed, asynchronous, getMenuPresenter, getPopupPresenter, getToolbarPresenter
 
Methods inherited from class org.openide.util.actions.SystemAction
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, 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
 

Method Detail

performAction

public void performAction()
Specified by:
performAction in class CallableSystemAction

getName

public String getName()
Specified by:
getName in class SystemAction

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Action
Overrides:
isEnabled in class SystemAction

getHelpCtx

public HelpCtx getHelpCtx()
Specified by:
getHelpCtx in interface HelpCtx.Provider
Specified by:
getHelpCtx in class SystemAction

initialize

protected void initialize()
Overrides:
initialize in class SystemAction

com.im.ijc.core/1 5.9.4