Eclipse Platform
Release 3.4

org.eclipse.jface.text.contentassist
Interface IContentAssistantExtension4

All Known Implementing Classes:
ContentAssistant

public interface IContentAssistantExtension4

Extends IContentAssistant with the following function:

Since:
3.4

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

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

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