Eclipse Platform
Release 3.1

org.eclipse.jface.text.contentassist
Interface ICompletionProposalExtension4


public interface ICompletionProposalExtension4

Extends ICompletionProposal with the following functions:

Since:
3.1

Method Summary
 boolean isAutoInsertable()
          Returns true if the proposal may be automatically inserted, false otherwise.
 

Method Detail

isAutoInsertable

public boolean isAutoInsertable()
Returns true if the proposal may be automatically inserted, false otherwise. Automatic insertion can happen if the proposal is the only one being proposed, in which case the content assistant may decide to not prompt the user with a list of proposals, but simply insert the single proposal. A proposal may veto this behavior by returning false to a call to this method.

Returns:
true if the proposal may be inserted automatically, false if not

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.