Package org.erlide.ui.editors.erl.completion

Examples of org.erlide.ui.editors.erl.completion.ErlStringContentAssistProcessor


        final IErlModule module = getModule();
        final IErlProject project = getProject();
        contentAssistProcessor = new ErlContentAssistProcessor(sourceViewer, module,
                project, contentAssistant);
        contentAssistProcessorForStrings = new ErlStringContentAssistProcessor(
                sourceViewer, module, project, contentAssistant);

        contentAssistProcessor.setToPrefs();
        contentAssistant.setContentAssistProcessor(contentAssistProcessor,
                IDocument.DEFAULT_CONTENT_TYPE);
View Full Code Here


        final IDocument document = new StringDocument(text);
        final IErlModule module = createModule(project, name, text);
        module.open(null);

        final MockSourceViewer sourceViewer = new MockSourceViewer(document, offset);
        final IContentAssistProcessor p = inStrings ? new ErlStringContentAssistProcessor(
                sourceViewer, module, project, null) : new ErlContentAssistProcessor(
                sourceViewer, module, project, null);
        final ICompletionProposal[] completionProposals = p.computeCompletionProposals(
                sourceViewer, offset);
View Full Code Here

TOP

Related Classes of org.erlide.ui.editors.erl.completion.ErlStringContentAssistProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.