Interface ICompletionProposalExtension4
-
public interface ICompletionProposalExtension4
ExtendsICompletionProposal
with the following functions:- specify whether a proposal is automatically insertable
- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAutoInsertable()
Returnstrue
if the proposal may be automatically inserted,false
otherwise.
-
-
-
Method Detail
-
isAutoInsertable
boolean isAutoInsertable()
Returnstrue
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 returningfalse
to a call to this method.- Returns:
true
if the proposal may be inserted automatically,false
if not
-
-