Package org.eclipse.imp.editor

Examples of org.eclipse.imp.editor.ErrorProposal


        }
      }
     
      if (first) {      // empty proposal list
        if (TGlobal.errors(g) > 0) {
          result.add(new ErrorProposal(
              "No proposals available, please correct syntax errors first.", offset));
        }
        else if (pref.length() > 0) {
          result.add(new ErrorProposal(
              "No proposals available, maybe prefix \"" + pref + "\" too restrictive?", offset));
        }
        else {
          result.add(new ErrorProposal(
              "Can't help you here. Sorry.", offset));
        }
      }
    } else {
      result.add(new ErrorProposal(
          "No proposals available - syntax errors", offset));
    }
    return result.toArray(new ICompletionProposal[result.size()]);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.imp.editor.ErrorProposal

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.