com.im.ijc.core/1 5.9.4

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

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.NewDFEntityAbstractAction
All Implemented Interfaces:
ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
Direct Known Subclasses:
ExistingJChemCartridgeEntityAction, ExistingJChemEntityAction, ExistingStandardCartridgeEntityAction, ExistingStandardEntityAction, NewJChemCartridgeEntityAction, NewJChemEntityAction, NewStandardCartridgeEntityAction, NewStandardEntityAction

public abstract class NewDFEntityAbstractAction
extends AbstractToolbarCookieAction

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 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
NewDFEntityAbstractAction()
           
 
Method Summary
protected  Class[] cookieClasses()
           
 boolean enable(Node[] activatedNodes)
           
protected abstract  List<DFNewType<DFEntity>> filterNewTypes(List<DFNewType<DFEntity>> newTypes)
           
protected  DFSchema findSchema(Node[] nodes, boolean forceInit)
           
protected  WizardDescriptor.Panel getExtraPanel()
           
 HelpCtx getHelpCtx()
           
protected abstract  NewDFItemWizardIterator.WizardType getType()
           
protected  int mode()
           
protected  void performAction(Node[] activatedNodes)
           
 
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
asynchronous, 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

NewDFEntityAbstractAction

public NewDFEntityAbstractAction()
Method Detail

performAction

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

findSchema

protected DFSchema findSchema(Node[] nodes,
                              boolean forceInit)

mode

protected int mode()
Specified by:
mode in class CookieAction

getHelpCtx

public HelpCtx getHelpCtx()
Specified by:
getHelpCtx in interface HelpCtx.Provider
Specified by:
getHelpCtx in class SystemAction

cookieClasses

protected Class[] cookieClasses()
Specified by:
cookieClasses in class CookieAction

filterNewTypes

protected abstract List<DFNewType<DFEntity>> filterNewTypes(List<DFNewType<DFEntity>> newTypes)

getType

protected abstract NewDFItemWizardIterator.WizardType getType()

enable

public boolean enable(Node[] activatedNodes)
Overrides:
enable in class AbstractToolbarCookieAction

getExtraPanel

protected WizardDescriptor.Panel getExtraPanel()

com.im.ijc.core/1 5.9.4