Interface ICompletionProposalExtension4
public interface ICompletionProposalExtension4
Extends
ICompletionProposal with
the following functions:
- specify whether a proposal is automatically insertable
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the proposal may be automatically inserted,falseotherwise.
-
Method Details
-
isAutoInsertable
boolean isAutoInsertable()Returnstrueif the proposal may be automatically inserted,falseotherwise. 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 returningfalseto a call to this method.- Returns:
trueif the proposal may be inserted automatically,falseif not
-