Bug 221521 [Markers] New markers API needs to be pared down
We have too much API in some of the new classes and they can be moved to internals
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/MarkerViewUtil.java
if (view != null && view instanceof MarkerView) {
				StructuredSelection selection = new StructuredSelection(marker);
				MarkerView markerView = (MarkerView) view;
				markerView.setSelection(selection, true);
				returnValue = true;
			}
		} catch (CoreException e) {
			Policy.handle(e);
		}
		return returnValue;
	}
	/**
	 * Returns the id of the view used to show markers of the same type as the
	 * given marker using.legacy support
	 * 
	 * @param marker
	 *            the marker
	 * @return the view id or <code>null</code> if no appropriate view could
	 *         be determined
	 * @throws CoreException
	 *             if an exception occurs testing the type of the marker
	 */
	private static String getLegacyViewId(IMarker marker) throws CoreException {
		String viewId = getViewId(marker);
		if (viewId == null)
			return null;
		return viewId + MarkerSupportInternalUtilities.LEGACY_SUFFIX;
	}
}