Package com.im.ijc.core.api.actions
Class ZipLocalSchemaAction
- 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.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 class com.im.ijc.core.api.actions.AbstractToolbarCookieAction
AbstractToolbarCookieAction.ToolBarAction
-
-
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.
-
Constructor Summary
Constructors Constructor Description ZipLocalSchemaAction()
-
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 com.im.ijc.core.api.actions.AbstractToolbarCookieAction
findEntity, getToolbarPresenter
-
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
-
-
-
-
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.
-
-
Method Detail
-
mode
protected int mode()
- Specified by:
mode
in classorg.openide.util.actions.CookieAction
-
cookieClasses
protected java.lang.Class<?>[] cookieClasses()
- Specified by:
cookieClasses
in classorg.openide.util.actions.CookieAction
-
performAction
protected void performAction(org.openide.nodes.Node[] activatedNodes)
- Specified by:
performAction
in classorg.openide.util.actions.NodeAction
-
getName
public java.lang.String getName()
- Specified by:
getName
in classorg.openide.util.actions.SystemAction
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interfaceorg.openide.util.HelpCtx.Provider
- Specified by:
getHelpCtx
in classorg.openide.util.actions.SystemAction
-
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous
in classorg.openide.util.actions.CallableSystemAction
-
-