1 11 12 package org.eclipse.ui.views.markers; 13 14 import org.eclipse.core.resources.IMarker; 15 import org.eclipse.core.runtime.IProgressMonitor; 16 import org.eclipse.ui.IMarkerResolution2; 17 import org.eclipse.ui.views.markers.internal.Util; 18 19 25 public abstract class WorkbenchMarkerResolution implements IMarkerResolution2 { 26 27 34 public abstract IMarker[] findOtherMarkers(IMarker[] markers); 35 36 44 public void run(IMarker[] markers, IProgressMonitor monitor) { 45 46 for (int i = 0; i < markers.length; i++) { 47 monitor.subTask(Util.getProperty(IMarker.MESSAGE, markers[i])); 48 run(markers[i]); 49 } 50 } 51 } 52 | Popular Tags |