public interface IProposalConflictHelper
The IProposalConflictHelper
is used to determine whether a
possible content proposal is in conflict with the previous input.
Implementors should consider to extend the
AntlrProposalConflictHelper
.
Modifier and Type | Interface and Description |
---|---|
static class |
IProposalConflictHelper.NullHelper |
Modifier and Type | Method and Description |
---|---|
boolean |
existsConflict(java.lang.String proposal,
ContentAssistContext context)
Returns
false if the proposal would corrupt the previous
input. |
boolean existsConflict(java.lang.String proposal, ContentAssistContext context)
false
if the proposal would corrupt the previous
input.proposal
- a possible proposal string. Is never null
.context
- the current content assist context. Is never null
.false
if the proposal would corrupt the current input.