Package ro.sync.ecss.extensions.api
Class AuthorExtensionStateAdapter
java.lang.Object
ro.sync.ecss.extensions.api.AuthorExtensionStateAdapter
- All Implemented Interfaces:
AuthorExtensionStateListener
,Extension
@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class AuthorExtensionStateAdapter
extends Object
implements AuthorExtensionStateListener
Adapter class for
AuthorExtensionStateListener
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activated
(AuthorAccess authorAccess) Method called when the Author extension was activated.void
deactivated
(AuthorAccess authorAccess) Method called when the Author extension was deactivated.
-
Constructor Details
-
AuthorExtensionStateAdapter
public AuthorExtensionStateAdapter()
-
-
Method Details
-
activated
Description copied from interface:AuthorExtensionStateListener
Method called when the Author extension was activated. This event is triggered when the Author extension where this listener is defined was activated in relation with a document opened in Author page. Listeners likeAuthorMouseListener
orAuthorListener
can be added at this point.- Specified by:
activated
in interfaceAuthorExtensionStateListener
- Parameters:
authorAccess
- TheAuthorAccess
of the Author page where the listener was activated.- See Also:
-
deactivated
Description copied from interface:AuthorExtensionStateListener
Method called when the Author extension was deactivated. This event is triggered when another Author extension corresponding to the the current document opened in Author page was activated, the user switches to another editor page or the editor is closed.- Specified by:
deactivated
in interfaceAuthorExtensionStateListener
- Parameters:
authorAccess
- TheAuthorAccess
of the Author page where the listener was deactivated.- See Also:
-
getDescription
- Specified by:
getDescription
in interfaceExtension
- Returns:
- The description of the extension.
- See Also:
-