org.eclipse.xtext.ui.editor.contentassist
Interface RepeatedContentAssistProcessor.ModeAware

All Known Implementing Classes:
AbstractPureXbaseProposalProvider, AbstractXbaseWithAnnotationsProposalProvider, AbstractXtend2ProposalProvider, CodetemplatesProposalProvider, PureXbaseProposalProvider, SingleCodetemplateProposalProvider, XbaseProposalProvider, XbaseReferenceProposalCreator, XbaseWithAnnotationsProposalProvider, Xtend2ProposalProvider
Enclosing class:
RepeatedContentAssistProcessor

public static interface RepeatedContentAssistProcessor.ModeAware


Method Summary
 java.lang.String getNextCategory()
           
 boolean isLastMode()
           
 void nextMode()
          Announce that proposals will be computed.
 void reset()
          Reset the proposal provider's repetition state.
 

Method Detail

reset

void reset()
Reset the proposal provider's repetition state. The intial proposals should be displayed after a subsequent call to nextMode().


nextMode

void nextMode()
Announce that proposals will be computed.


isLastMode

boolean isLastMode()
Returns:
true if a subsequent call to nextMode() will show the proposals for the first mode.

getNextCategory

java.lang.String getNextCategory()
Returns:
a description of the proposal category that will be retrieved after a subsequent invocation of nextMode().