Package org.epic.core.util

Examples of org.epic.core.util.MarkerUtilities.deleteMarkers()


    {
     
        Object[] violations = doJob(resource);

        final MarkerUtilities factory = new MarkerUtilities(PerlEditorPlugin.getDefault().getLog(), PerlEditorPlugin.getPluginId());
        factory.deleteMarkers(resource, METRICS_MARKER);

        for (int i = 0; i < violations.length; i++)
        {
            Map attributes = createMarkerAttributes(factory, violations[i]);
            factory.createMarker(resource, METRICS_MARKER, attributes);
View Full Code Here


            protected IStatus run(IProgressMonitor monitor)
            {
                // cancelled while sitting in queue
                if (monitor.isCanceled()) { return Status.CANCEL_STATUS; }

                factory.deleteMarkers(resource, marker);

                /*
                 * this should be able to support multiple resources as well in the future - the
                 * loop would just need to include a check against the monitor for cancellation
                 */
 
View Full Code Here

            new Job("Clear EPIC Marker(s)")
        {
            protected IStatus run(IProgressMonitor monitor)
            {
                MarkerUtilities factory = new MarkerUtilities(getLog(), getPluginId());
                factory.deleteMarkers(getResource(), markerType);

                return Status.OK_STATUS;
            }
        };
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.