Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionOpenMarker.java
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.util.OpenStrategy;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.actions.SelectionProviderAction;
import org.eclipse.ui.ide.IDE;
/**
 * Action to open an editor on the selected bookmarks.
 */
public class ActionOpenMarker extends SelectionProviderAction {
	
	private final String HOVER_IMAGE_PATH = "clcl16/gotoobj_tsk.gif"; 
	private final String IMAGE_PATH = "elcl16/gotoobj_tsk.gif"; 
	private final String DISABLED_IMAGE_PATH = "dlcl16/gotoobj_tsk.gif"; 
	
	protected IWorkbenchPart part;
	public ActionOpenMarker(IWorkbenchPart part, ISelectionProvider provider) {
		super(provider, Messages.getString("openAction.title")); 
		this.part = part;
		setHoverImageDescriptor(ImageFactory.getImageDescriptor(HOVER_IMAGE_PATH));
		setImageDescriptor(ImageFactory.getImageDescriptor(IMAGE_PATH));
		setDisabledImageDescriptor(ImageFactory.getImageDescriptor(DISABLED_IMAGE_PATH));
		setEnabled(false);