Package com.im.ijc.core.api.actions
Class AbstractViewModeAction
- java.lang.Object
-
- org.openide.util.SharedClassObject
-
- org.openide.util.actions.SystemAction
-
- org.openide.util.actions.CallableSystemAction
-
- com.im.ijc.core.api.actions.AbstractViewModeAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Externalizable
,java.io.Serializable
,java.util.EventListener
,javax.swing.Action
,org.openide.util.actions.Presenter
,org.openide.util.actions.Presenter.Menu
,org.openide.util.actions.Presenter.Popup
,org.openide.util.actions.Presenter.Toolbar
,org.openide.util.HelpCtx.Provider
- Direct Known Subclasses:
BrowseModeAction
,CodeModeAction
,DesignModeAction
,QueryModeAction
public class AbstractViewModeAction extends org.openide.util.actions.CallableSystemAction
Action for switching view modes of opened views.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openide.util.HelpCtx
getHelpCtx()
java.lang.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
-
-
-
-
Method Detail
-
performAction
public void performAction()
- Specified by:
performAction
in classorg.openide.util.actions.CallableSystemAction
-
getName
public java.lang.String getName()
- Specified by:
getName
in classorg.openide.util.actions.SystemAction
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfacejavax.swing.Action
- Overrides:
isEnabled
in classorg.openide.util.actions.SystemAction
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interfaceorg.openide.util.HelpCtx.Provider
- Specified by:
getHelpCtx
in classorg.openide.util.actions.SystemAction
-
initialize
protected void initialize()
- Overrides:
initialize
in classorg.openide.util.actions.SystemAction
-
-