Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionOpenMarker.java
CoreException nestedException = null;
			IStatus status = e.getStatus();
			if (status != null && status.getException() instanceof CoreException)
				nestedException = (CoreException)status.getException();
	
			if (nestedException != null) {
				
				
				ErrorDialog.openError(
					part.getSite().getShell(),
					Messages.getString("OpenMarker.errorTitle"), 
					e.getMessage(),
					nestedException.getStatus());
			} else {
				
				
				MessageDialog.openError(
					part.getSite().getShell(),
					Messages.getString("OpenMarker.errorTitle"), 
					e.getMessage());
			}
		}
	}
	
	public void selectionChanged(IStructuredSelection selection) {
		setEnabled(selection != null && selection.size() == 1);
	}
}