com.im.ijc.core/1 5.9.4

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

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 org.openide.util.actions.NodeAction
                  extended by org.openide.util.actions.CookieAction
                      extended by com.im.ijc.core.api.actions.AbstractToolbarCookieAction
                          extended by com.im.ijc.core.api.actions.AbstractIJCAction
                              extended by com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
                                  extended by com.im.ijc.core.api.actions.AbstractFieldSelectionAwareAction
                                      extended by com.im.ijc.core.api.actions.AbstractBrowseFieldSelectionAwareAction
                                          extended by com.im.ijc.core.api.actions.AbstractSearchByValueAction
All Implemented Interfaces:
ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
Direct Known Subclasses:
SearchByValueAction, SearchByValueAddAction

public abstract class AbstractSearchByValueAction
extends AbstractBrowseFieldSelectionAwareAction

Action which fills the query panel with the selected value.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
AbstractToolbarCookieAction.ToolBarAction
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
 
Fields inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
ALL_ICONS_PREFIX
 
Fields inherited from class org.openide.util.actions.CookieAction
MODE_ALL, MODE_ANY, MODE_EXACTLY_ONE, MODE_ONE, MODE_SOME
 
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
 
Constructor Summary
AbstractSearchByValueAction()
           
 
Method Summary
protected abstract  boolean clearPreviousQuery()
           
 boolean enableAccordingToCurrentSelection(IJCWidget widget)
           
protected  boolean enableWhenNoRows()
           
 void performAction(Node[] activatedNodes)
           
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractFieldSelectionAwareAction
addListenerTo, enableForFieldsFromDifferntVertexStates, findFields, isEventInteresting, removeListenerFrom
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
cookieClasses, enableAccordingTo, enableAccordingToCurrentSelection, findOVC, mode
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
asynchronous, enable, enableOnlyInBrowseMode, enableWhenNoResultSet, enableWhenNotBound, findVS, findWidget, getHelpCtx, getSelectedIds, getSelectedIdsSafely, getSelectedIdsSafely, getSelection, updateEnabledState
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
getToolbarPresenter
 
Methods inherited from class org.openide.util.actions.CookieAction
createContextAwareInstance
 
Methods inherited from class org.openide.util.actions.NodeAction
actionPerformed, addNotify, getActivatedNodes, initialize, isEnabled, performAction, removeNotify, setEnabled, surviveFocusChange
 
Methods inherited from class org.openide.util.actions.CallableSystemAction
getMenuPresenter, getPopupPresenter
 
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
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, putValue, removePropertyChangeListener
 

Constructor Detail

AbstractSearchByValueAction

public AbstractSearchByValueAction()
Method Detail

performAction

public void performAction(Node[] activatedNodes)
Specified by:
performAction in class NodeAction

clearPreviousQuery

protected abstract boolean clearPreviousQuery()

enableWhenNoRows

protected boolean enableWhenNoRows()
Overrides:
enableWhenNoRows in class AbstractIJCAction

enableAccordingToCurrentSelection

public boolean enableAccordingToCurrentSelection(IJCWidget widget)
Overrides:
enableAccordingToCurrentSelection in class AbstractBrowseFieldSelectionAwareAction

com.im.ijc.core/1 5.9.4