Examples of MarkerResolutionProposal


Examples of org.eclipse.dltk.ui.text.MarkerResolutionProposal

      if (annotation instanceof MarkerAnnotation) {
        MarkerAnnotation mAnnot = (MarkerAnnotation) annotation;
        IMarker marker = mAnnot.getMarker();
        if (isFixable(marker)) {
          final String pkgName = CorrectionEngine.getProblemArguments(marker)[0];
          proposal = new MarkerResolutionProposal(new RutaRequirePackageMarkerResolution(pkgName,
                  scriptProject), marker);
        }
      } else if (annotation instanceof IScriptAnnotation) {
        if (isFixable((IScriptAnnotation) annotation)) {
          // final String pkgName = ((IScriptAnnotation) annotation)
View Full Code Here

Examples of org.eclipse.dltk.ui.text.MarkerResolutionProposal

      if (annotation instanceof MarkerAnnotation) {
        MarkerAnnotation mAnnot = (MarkerAnnotation) annotation;
        IMarker marker = mAnnot.getMarker();
        if (isFixable(marker)) {
          final String pkgName = CorrectionEngine.getProblemArguments(marker)[0];
          proposal = new MarkerResolutionProposal(new RutaRequirePackageMarkerResolution(
                  pkgName, scriptProject), marker);
        }
      } else if (annotation instanceof IScriptAnnotation) {
        if (isFixable((IScriptAnnotation) annotation)) {
          // final String pkgName = ((IScriptAnnotation) annotation)
View Full Code Here

Examples of org.eclipse.dltk.ui.text.MarkerResolutionProposal

    IMarker marker = annotation.getMarker();
    IMarkerResolution[] res = IDE.getMarkerHelpRegistry().getResolutions(
        marker);
    if (res.length > 0) {
      for (int i = 0; i < res.length; i++) {
        proposals.add(new MarkerResolutionProposal(res[i], marker));
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.