Interface IQuickAssistAssistantExtension

All Known Implementing Classes:
QuickAssistAssistant

public interface IQuickAssistAssistantExtension
Extends IQuickAssistAssistant with the following function:
  • allows to get a handler for the given command identifier
  • allows to enable support for colored labels in the proposal popup
Since:
3.4
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enableColoredLabels(boolean isEnabled)
    Enables the support for colored labels in the proposal popup.
    getHandler(String commandId)
    Returns the handler for the given command identifier.
  • Method Details

    • getHandler

      IHandler getHandler(String commandId)
      Returns the handler for the given command identifier.

      The same handler instance will be returned when called a more than once with the same command identifier.

      Parameters:
      commandId - the command identifier
      Returns:
      the handler for the given command identifier
      Throws:
      IllegalArgumentException - if the command is not supported by this content assistant
      IllegalStateException - if called when this content assistant is uninstalled
    • enableColoredLabels

      void enableColoredLabels(boolean isEnabled)
      Enables the support for colored labels in the proposal popup.

      Completion proposals can implement ICompletionProposalExtension6 to provide colored proposal labels.

      Parameters:
      isEnabled - if true the support for colored labels is enabled in the proposal popup
      Since:
      3.4