|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
oracle.ide.controls.ToggleAction
oracle.ide.IdeAction
oracle.ide.LocalAction
An LocalAction is used in Views that have
commands accessible through local toolbars. The LocalActions
are generally clones of the IdeAction registered for
a specific command. The LocalActions respond only to
the changes in context of the view that owns them.
LocalActions are not cached in the IdeAction
cache.
IdeAction,
Serialized Form| Field Summary |
| Fields inherited from class oracle.ide.controls.ToggleAction |
ACCELERATOR, ACTION, BUTTON_GROUP_NAME, CATEGORY, CONTEXT_INDEPENDENT_NAME, DISABLED_ICON, HIDDEN, MNEMONIC, RADIO, STATE, TOGGLES, USER_DATA |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
LocalAction(IdeAction action,
View view)
Constructor. |
|
| Method Summary | |
void |
dispose()
|
protected View |
getView()
Return the View associated with this action. |
| Methods inherited from class oracle.ide.IdeAction |
actionPerformed, create, create, create, create, find, findGroup, get, get, get, get, get, get, getCommand, getCommandId, getContext, getController, getValue, putValue, remove, setCommand, setCommandId, setContext, setController |
| Methods inherited from class oracle.ide.controls.ToggleAction |
getBooleanValue, getState, isRadio, isToggle, itemStateChanged, setBooleanValue, setState |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalAction(IdeAction action,
View view)
action - the IdeAction this LocalAction
will clone.view - the View that owns this action.| Method Detail |
public void dispose()
protected View getView()
View associated with this action.
This method is called from the base class actionPerformed()
method to determine the view whose controller will handle the
Command associated with this Action.
getView in class IdeAction
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.