com.im.ijc.core/1 5.9.4

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

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
All Implemented Interfaces:
ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
Direct Known Subclasses:
AbstractBrowseFieldSelectionAwareAction, ConditionalFormattingAction, ConvertFieldTypeAction, DeleteDFFieldAction, RenameDFFieldAction

public abstract class AbstractFieldSelectionAwareAction
extends AbstractIJCWidgetCookieAction

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
AbstractFieldSelectionAwareAction()
           
 
Method Summary
protected  void addListenerTo(IJCWidget widget, PropertyChangeListener selectionListener)
           
protected  boolean enableForFieldsFromDifferntVertexStates()
           
protected static List<DFField> findFields(Node[] activatedNodes)
           
protected  boolean isEventInteresting(PropertyChangeEvent evt)
           
protected  void removeListenerFrom(IJCWidget widget, PropertyChangeListener selectionListener)
           
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCWidgetCookieAction
cookieClasses, enableAccordingTo, enableAccordingToCurrentSelection, enableAccordingToCurrentSelection, findOVC, mode
 
Methods inherited from class com.im.ijc.core.api.actions.AbstractIJCAction
asynchronous, enable, enableOnlyInBrowseMode, enableWhenNoResultSet, enableWhenNoRows, 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, 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

AbstractFieldSelectionAwareAction

public AbstractFieldSelectionAwareAction()
Method Detail

isEventInteresting

protected boolean isEventInteresting(PropertyChangeEvent evt)
Overrides:
isEventInteresting in class AbstractIJCAction

addListenerTo

protected void addListenerTo(IJCWidget widget,
                             PropertyChangeListener selectionListener)
Overrides:
addListenerTo in class AbstractIJCAction

removeListenerFrom

protected void removeListenerFrom(IJCWidget widget,
                                  PropertyChangeListener selectionListener)
Overrides:
removeListenerFrom in class AbstractIJCAction

findFields

protected static List<DFField> findFields(Node[] activatedNodes)

enableForFieldsFromDifferntVertexStates

protected boolean enableForFieldsFromDifferntVertexStates()

com.im.ijc.core/1 5.9.4