com.im.ijc.core.api.actions
Class NewDFEntityAbstractAction
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.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
| 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 |
NewDFEntityAbstractAction
public NewDFEntityAbstractAction()
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()