Class BackupCommandHook
java.lang.Object
ca.phon.app.session.editor.actions.BackupCommandHook
- All Implemented Interfaces:
ActionHook<SaveSessionAction>
,IPluginExtensionPoint<ActionHook<SaveSessionAction>>
public class BackupCommandHook
extends Object
implements ActionHook<SaveSessionAction>, IPluginExtensionPoint<ActionHook<SaveSessionAction>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterAction
(SaveSessionAction action, ActionEvent ae) Method called afteer theHookableAction.hookableActionPerformed(ActionEvent)
method is called.boolean
beforeAction
(SaveSessionAction action, ActionEvent ae) Method called before theHookableAction.hookableActionPerformed(ActionEvent)
method is called.Class<? extends SaveSessionAction>
Return the action type.Class<?>
Get type of extensionGet factory for extension point objects
-
Constructor Details
-
BackupCommandHook
public BackupCommandHook()
-
-
Method Details
-
getActionType
Description copied from interface:ActionHook
Return the action type.- Specified by:
getActionType
in interfaceActionHook<SaveSessionAction>
- Returns:
- hookable action class
-
beforeAction
Description copied from interface:ActionHook
Method called before theHookableAction.hookableActionPerformed(ActionEvent)
method is called. This method may pre-empt the action by returningtrue
.- Specified by:
beforeAction
in interfaceActionHook<SaveSessionAction>
- Returns:
true
if the action should be cancelled,false
otherwise
-
afterAction
Description copied from interface:ActionHook
Method called afteer theHookableAction.hookableActionPerformed(ActionEvent)
method is called.- Specified by:
afterAction
in interfaceActionHook<SaveSessionAction>
-
getExtensionType
Description copied from interface:IPluginExtensionPoint
Get type of extension- Specified by:
getExtensionType
in interfaceIPluginExtensionPoint<ActionHook<SaveSessionAction>>
-
getFactory
Description copied from interface:IPluginExtensionPoint
Get factory for extension point objects- Specified by:
getFactory
in interfaceIPluginExtensionPoint<ActionHook<SaveSessionAction>>
-