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 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
  • Constructor Details

    • AuthorActionEventHandlerBase

      public AuthorActionEventHandlerBase()
  • Method Details

    • getContentCompletionActions

      public 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.