Package com.salesforce.ide.core.project

Examples of com.salesforce.ide.core.project.MarkerUtils


    }

    void displayErrorMarker(DeployMessage failure) {
        Component cmp = list.getComponentById(failure.getId());
        if (cmp != null) {
            MarkerUtils markerUtils = getMarkerUtils();
            if (failure.getLineNumber() > 0) { // Has line number
                if (failure.getColumnNumber() > 1) { // Has column number
                    markerUtils.applyCompileErrorMarker(cmp.getFileResource(), failure.getLineNumber(),
                        failure.getColumnNumber(), failure.getColumnNumber() + 1, failure.getProblem());
                } else {
                    markerUtils.applyCompileErrorMarker(cmp.getFileResource(), failure.getLineNumber(), 1, 1,
                        failure.getProblem());
                }
            } else {
                markerUtils.applyCompileErrorMarker(cmp.getFileResource(), failure.getProblem());
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.salesforce.ide.core.project.MarkerUtils

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.