Interface ICompletionProposalComputerFactory

  • All Known Implementing Classes:
    BslTemplatesCompletionProposalComputerFactory

    public interface ICompletionProposalComputerFactory
    Factory for creating instance of CompletionProposalComputer in BslRepeatedContentAssistProcessor
    • Method Detail

      • create

        RepeatedCompletionProposalComputer create​(org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.State state,
                                                  org.eclipse.jface.text.ITextViewer viewer,
                                                  int offset)
        Create new instance of RepeatedCompletionProposalComputer
        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
        Returns:
        created RepeatedCompletionProposalComputer, never null