Package org.apache.uima.ruta.ide.ui.text.completion

Examples of org.apache.uima.ruta.ide.ui.text.completion.RutaScriptCompletionProcessor


  }

  @Override
  protected void alterContentAssistant(ContentAssistant assistant) {
    // IDocument.DEFAULT_CONTENT_TYPE
    IContentAssistProcessor scriptProcessor = new RutaScriptCompletionProcessor(getEditor(),
            assistant, IDocument.DEFAULT_CONTENT_TYPE);
    assistant.setContentAssistProcessor(scriptProcessor, IDocument.DEFAULT_CONTENT_TYPE);

    ContentAssistProcessor singleLineProcessor = new RutaScriptCompletionProcessor(getEditor(),
            assistant, RutaPartitions.RUTA_COMMENT);
    assistant.setContentAssistProcessor(singleLineProcessor, RutaPartitions.RUTA_COMMENT);

    ContentAssistProcessor stringProcessor = new RutaScriptCompletionProcessor(getEditor(),
            assistant, RutaPartitions.RUTA_STRING);
    assistant.setContentAssistProcessor(stringProcessor, RutaPartitions.RUTA_STRING);
  }
View Full Code Here


  }

  @Override
  protected void alterContentAssistant(ContentAssistant assistant) {
    // IDocument.DEFAULT_CONTENT_TYPE
    IContentAssistProcessor scriptProcessor = new RutaScriptCompletionProcessor(getEditor(),
            assistant, IDocument.DEFAULT_CONTENT_TYPE);
    assistant.setContentAssistProcessor(scriptProcessor, IDocument.DEFAULT_CONTENT_TYPE);

    ContentAssistProcessor singleLineProcessor = new RutaScriptCompletionProcessor(
            getEditor(), assistant, RutaPartitions.RUTA_COMMENT);
    assistant.setContentAssistProcessor(singleLineProcessor, RutaPartitions.RUTA_COMMENT);

    ContentAssistProcessor stringProcessor = new RutaScriptCompletionProcessor(getEditor(),
            assistant, RutaPartitions.RUTA_STRING);
    assistant.setContentAssistProcessor(stringProcessor, RutaPartitions.RUTA_STRING);
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.ruta.ide.ui.text.completion.RutaScriptCompletionProcessor

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.