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 java.lang.Object implements AuthorExtensionStateListener
Adapter class forAuthorExtensionStateListener
.
-
-
Constructor Summary
Constructors Constructor Description AuthorExtensionStateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activated(AuthorAccess authorAccess)
Method called when the Author extension was activated.void
deactivated(AuthorAccess authorAccess)
Method called when the Author extension was deactivated.java.lang.String
getDescription()
-
-
-
Method Detail
-
activated
public void activated(AuthorAccess authorAccess)
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:
AuthorExtensionStateListener.activated(ro.sync.ecss.extensions.api.AuthorAccess)
-
deactivated
public void deactivated(AuthorAccess authorAccess)
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:
AuthorExtensionStateListener.deactivated(ro.sync.ecss.extensions.api.AuthorAccess)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceExtension
- Returns:
- The description of the extension.
- See Also:
Extension.getDescription()
-
-