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 TypeMethodDescriptionvoidactivated(AuthorAccess authorAccess) Method called when the Author extension was activated.voiddeactivated(AuthorAccess authorAccess) Method called when the Author extension was deactivated.
-
Constructor Details
-
AuthorExtensionStateAdapter
public AuthorExtensionStateAdapter()
-
-
Method Details
-
activated
Description copied from interface:AuthorExtensionStateListenerMethod 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 likeAuthorMouseListenerorAuthorListenercan be added at this point.- Specified by:
activatedin interfaceAuthorExtensionStateListener- Parameters:
authorAccess- TheAuthorAccessof the Author page where the listener was activated.- See Also:
-
deactivated
Description copied from interface:AuthorExtensionStateListenerMethod 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:
deactivatedin interfaceAuthorExtensionStateListener- Parameters:
authorAccess- TheAuthorAccessof the Author page where the listener was deactivated.- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceExtension- Returns:
- The description of the extension.
- See Also:
-