Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionOpenMarker.java
}
	
	public void run() {
		IStructuredSelection selection = getStructuredSelection();
		if (selection == null || selection.size() != 1)
			return;
		
		Object obj = selection.getFirstElement();
		if (!(obj instanceof IMarker))
			return;
		
		IMarker marker = (IMarker) obj;
		 
		
		IEditorPart editor = part.getSite().getPage().getActiveEditor();
		if (editor != null) {
		IEditorInput input = editor.getEditorInput();
			if (input instanceof IFileEditorInput) {
				IFile file = ((IFileEditorInput) input).getFile();
				if (marker.getResource().equals(file)) {
					part.getSite().getPage().activate(editor);
				}
			}
		}
		try {
			IDE.openEditor(part.getSite().getPage(), marker, OpenStrategy.activateOnOpen());
		} catch (PartInitException e) {