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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAction(SaveSessionAction action, ActionEvent ae) Method called afteer theHookableAction.hookableActionPerformed(ActionEvent)method is called.booleanbeforeAction(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:ActionHookReturn the action type.- Specified by:
getActionTypein interfaceActionHook<SaveSessionAction>- Returns:
- hookable action class
-
beforeAction
Description copied from interface:ActionHookMethod called before theHookableAction.hookableActionPerformed(ActionEvent)method is called. This method may pre-empt the action by returningtrue.- Specified by:
beforeActionin interfaceActionHook<SaveSessionAction>- Parameters:
action-ae-- Returns:
trueif the action should be cancelled,falseotherwise
-
afterAction
Description copied from interface:ActionHookMethod called afteer theHookableAction.hookableActionPerformed(ActionEvent)method is called.- Specified by:
afterActionin interfaceActionHook<SaveSessionAction>- Parameters:
action-ae-
-
getExtensionType
Description copied from interface:IPluginExtensionPointGet type of extension- Specified by:
getExtensionTypein interfaceIPluginExtensionPoint<ActionHook<SaveSessionAction>>
-
getFactory
Description copied from interface:IPluginExtensionPointGet factory for extension point objects- Specified by:
getFactoryin interfaceIPluginExtensionPoint<ActionHook<SaveSessionAction>>
-