Eclipse Platform
Release 3.4

org.eclipse.jface.text.quickassist
Interface IQuickAssistAssistantExtension

All Known Implementing Classes:
QuickAssistAssistant

public interface IQuickAssistAssistantExtension

Extends IQuickAssistAssistant with the following function:

Since:
3.4

Method Summary
 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

public 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

public 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

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.