Interface IProposalConflictHelper
-
- All Known Implementing Classes:
AntlrProposalConflictHelper,IProposalConflictHelper.NullHelper,ProposalConflictHelper
public interface IProposalConflictHelperThe
IProposalConflictHelperis used to determine whether a possible content proposal is in conflict with the previous input.Implementors should consider to extend the
AntlrProposalConflictHelper.- Since:
- 2.10
- Noreference:
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIProposalConflictHelper.NullHelper
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexistsConflict(java.lang.String proposal, ContentAssistContext context)Returnsfalseif the proposal would corrupt the previous input.
-
-
-
Method Detail
-
existsConflict
boolean existsConflict(java.lang.String proposal, ContentAssistContext context)Returnsfalseif the proposal would corrupt the previous input.- Parameters:
proposal- a possible proposal string. Is nevernull.context- the current content assist context. Is nevernull.- Returns:
falseif the proposal would corrupt the current input.
-
-