Package ro.sync.ecss.extensions.api
Class AuthorActionEventHandlerBase
- java.lang.Object
-
- ro.sync.ecss.extensions.api.AuthorActionEventHandlerBase
-
- All Implemented Interfaces:
AuthorActionEventHandler
,Extension
- Direct Known Subclasses:
DefaultAuthorActionEventHandler
@API(type=EXTENDABLE, src=PUBLIC) public abstract class AuthorActionEventHandlerBase extends java.lang.Object implements AuthorActionEventHandler
Adds various API methods, for example it adds a method which intercepts action events in the Author mode and can handle them in a special manner.- Since:
- 19
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ro.sync.ecss.extensions.api.AuthorActionEventHandler
AuthorActionEventHandler.AuthorActionEventType
-
-
Constructor Summary
Constructors Constructor Description AuthorActionEventHandlerBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IAuthorExtensionAction>
getContentCompletionActions(AuthorAccess authorAccess, int caretOffset)
Provides a list of actions that will be contributed in the content completion lists.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ro.sync.ecss.extensions.api.AuthorActionEventHandler
canHandleEvent, canHandleEvent, getListItemAncestorToSplit, handleEvent
-
Methods inherited from interface ro.sync.ecss.extensions.api.Extension
getDescription
-
-
-
-
Method Detail
-
getContentCompletionActions
public java.util.List<IAuthorExtensionAction> getContentCompletionActions(AuthorAccess authorAccess, int caretOffset)
Provides a list of actions that will be contributed in the content completion lists.- Parameters:
authorAccess
- Access to the Author API.caretOffset
- The caret offset.- Returns:
- A list of actions that will be contributed in the content completion lists. Can be null.
-
-