com.im.ijc.core.api.actions
Class AbstractIJCWidgetCookieAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.util.actions.NodeAction
org.openide.util.actions.CookieAction
com.im.ijc.core.api.actions.AbstractToolbarCookieAction
com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
- All Implemented Interfaces:
- ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
- Direct Known Subclasses:
- AbstractFieldSelectionAwareAction, BindFieldToWidgetAction, IJCWidgetPropertiesAction, MarkushEnumAction, ShowRGroupAction
public abstract class AbstractIJCWidgetCookieAction
- extends AbstractToolbarCookieAction
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class org.openide.util.actions.SystemAction |
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getName, getValue, iconResource, linkActions, putValue, setIcon |
| Methods inherited from class org.openide.util.SharedClassObject |
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace |
ALL_ICONS_PREFIX
protected static final String ALL_ICONS_PREFIX
- See Also:
- Constant Field Values
AbstractIJCWidgetCookieAction
public AbstractIJCWidgetCookieAction()
isEventInteresting
protected abstract boolean isEventInteresting(PropertyChangeEvent evt)
mode
protected int mode()
- Specified by:
mode in class CookieAction
cookieClasses
protected Class[] cookieClasses()
- Specified by:
cookieClasses in class CookieAction
findOVC
protected static IJCWidgetCookie findOVC(Node[] activatedNodes)
getHelpCtx
public HelpCtx getHelpCtx()
- Specified by:
getHelpCtx in interface HelpCtx.Provider- Specified by:
getHelpCtx in class SystemAction
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous in class CallableSystemAction
enable
protected boolean enable(Node[] activatedNodes)
- Overrides:
enable in class CookieAction
addListenerTo
protected abstract void addListenerTo(IJCWidgetCookie openedViewCookie,
PropertyChangeListener selectionListener)
removeListenerFrom
protected abstract void removeListenerFrom(IJCWidgetCookie openedViewCookie,
PropertyChangeListener selectionListener)
enableAccordingToCurrentSelection
protected boolean enableAccordingToCurrentSelection(IJCWidgetCookie ijcWidgetCookie)
enableWhenNoRows
protected boolean enableWhenNoRows()
enableWhenNotBound
protected boolean enableWhenNotBound()
enableWhenNoResultSet
protected boolean enableWhenNoResultSet()