Class ZipLocalSchemaAction

  • 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

    public class ZipLocalSchemaAction
    extends AbstractToolbarCookieAction
    Action which is responsible for creating .zip file backup of a local DB project.
    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 
      Modifier and Type Field Description
      static int BUFFER_SIZE
      Buffer size when writing .zip files.
      static java.lang.String IJS_FILE_SUFFIX
      IJC Schema file suffix.
      static javax.swing.filechooser.FileFilter ZIP_FILE_FILTER
      File filter for .zip files + folders for filechooser.
      • 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 boolean asynchronous()  
      protected java.lang.Class<?>[] cookieClasses()  
      org.openide.util.HelpCtx getHelpCtx()  
      java.lang.String getName()  
      protected int mode()  
      protected void performAction​(org.openide.nodes.Node[] activatedNodes)  
      • Methods inherited from class org.openide.util.actions.CookieAction

        createContextAwareInstance, enable
      • 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, 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
    • Field Detail

      • BUFFER_SIZE

        public static final int BUFFER_SIZE
        Buffer size when writing .zip files.
        See Also:
        Constant Field Values
      • IJS_FILE_SUFFIX

        public static final java.lang.String IJS_FILE_SUFFIX
        IJC Schema file suffix.
        See Also:
        Constant Field Values
      • ZIP_FILE_FILTER

        public static final javax.swing.filechooser.FileFilter ZIP_FILE_FILTER
        File filter for .zip files + folders for filechooser.
    • Constructor Detail

      • ZipLocalSchemaAction

        public ZipLocalSchemaAction()
    • 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
      • performAction

        protected void performAction​(org.openide.nodes.Node[] activatedNodes)
        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
      • asynchronous

        protected boolean asynchronous()
        Overrides:
        asynchronous in class org.openide.util.actions.CallableSystemAction