Class PromoteMultipleColumnsAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Externalizable, java.io.Serializable, java.util.EventListener, javax.swing.Action, org.openide.util.actions.Presenter, org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup, org.openide.util.actions.Presenter.Toolbar, org.openide.util.ContextAwareAction, org.openide.util.HelpCtx.Provider
    Direct Known Subclasses:
    PromoteMultipleColumnsFieldsAction

    public class PromoteMultipleColumnsAction
    extends org.openide.util.actions.CookieAction
    Promote multiple columns as a one step wizard. This opens a dialog which allows promote any number of unpromoted columns as one action. It reuses the dialog which is also used in Promote standard entity wizard, New SQL entity wizard.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter

        org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup, org.openide.util.actions.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Class<?>[] cookieClasses()  
      protected boolean enable​(org.openide.nodes.Node[] activatedNodes)  
      org.openide.util.HelpCtx getHelpCtx()  
      java.lang.String getName()  
      protected java.util.Set<com.im.commons.db.ddl.DBColInfo> getSelectedColumns​(org.openide.nodes.Node[] nodes)  
      protected int mode()  
      protected void performAction​(org.openide.nodes.Node[] nodes)  
      • 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, getToolbarPresenter
      • Methods inherited from class org.openide.util.actions.SystemAction

        clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, 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

        accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener
    • Constructor Detail

      • PromoteMultipleColumnsAction

        public PromoteMultipleColumnsAction()
    • Method Detail

      • mode

        protected int mode()
        Specified by:
        mode in class org.openide.util.actions.CookieAction
      • cookieClasses

        protected java.lang.Class<?>[] cookieClasses()
        Specified by:
        cookieClasses in class org.openide.util.actions.CookieAction
      • getSelectedColumns

        protected java.util.Set<com.im.commons.db.ddl.DBColInfo> getSelectedColumns​(org.openide.nodes.Node[] nodes)
      • performAction

        protected void performAction​(org.openide.nodes.Node[] nodes)
        Specified by:
        performAction in class org.openide.util.actions.NodeAction
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class org.openide.util.actions.SystemAction
      • getHelpCtx

        public org.openide.util.HelpCtx getHelpCtx()
        Specified by:
        getHelpCtx in interface org.openide.util.HelpCtx.Provider
        Specified by:
        getHelpCtx in class org.openide.util.actions.SystemAction
      • enable

        protected boolean enable​(org.openide.nodes.Node[] activatedNodes)
        Overrides:
        enable in class org.openide.util.actions.CookieAction