Interface IQuickAssistAssistantExtension
-
- All Known Implementing Classes:
QuickAssistAssistant
public interface IQuickAssistAssistantExtension
ExtendsIQuickAssistAssistant
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enableColoredLabels(boolean isEnabled)
Enables the support for colored labels in the proposal popup.IHandler
getHandler(String commandId)
Returns the handler for the given command identifier.
-
-
-
Method Detail
-
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 assistantIllegalStateException
- 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
- iftrue
the support for colored labels is enabled in the proposal popup- Since:
- 3.4
-
-