Class RepeatedCompletionProposalComputer

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor, org.eclipse.xtext.ui.editor.contentassist.ITemplateAcceptor, org.eclipse.xtext.util.concurrent.IUnitOfWork<org.eclipse.jface.text.contentassist.ICompletionProposal[],​org.eclipse.xtext.resource.XtextResource>

    public class RepeatedCompletionProposalComputer
    extends org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer
    Special implementation of CompletionProposalComputer for BslRepeatedContentAssistProcessor
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer

        org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.State
      • Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor

        org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor.Delegate
      • Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.contentassist.ITemplateAcceptor

        org.eclipse.xtext.ui.editor.contentassist.ITemplateAcceptor.Delegate
      • Nested classes/interfaces inherited from interface org.eclipse.xtext.util.concurrent.IUnitOfWork

        org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<T extends Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      RepeatedCompletionProposalComputer​(org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.State state, org.eclipse.jface.text.ITextViewer viewer, int offset)
      Constructor
    • Constructor Detail

      • RepeatedCompletionProposalComputer

        public RepeatedCompletionProposalComputer​(org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.State state,
                                                  org.eclipse.jface.text.ITextViewer viewer,
                                                  int offset)
        Constructor
        Parameters:
        state - actual CompletionProposalComputer.State for creating proposals, cannot be null
        viewer - actual ITextViewer where content assist was called, cannot be null
        offset - offset in ITextViewer where content assist was called
    • Method Detail

      • createContentAssistContexts

        protected org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext[] createContentAssistContexts​(org.eclipse.xtext.resource.XtextResource resource)
        Overrides:
        createContentAssistContexts in class org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer