Bug 212733 [Markers] Problem view no longer updates when changing the visible marker limit
Version: 3.4.0 Build id: I20071211-0010 By default, the view shows 100 markers. When changing this limit (through marker prefs), the view doesn't update. One need to close/reopen for this to get taken into account. This is a regression.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/ExtendedMarkersView.java
* @return ISelectionListener
	 */
	private ISelectionListener getPageSelectionListener() {
			return new ISelectionListener() {
				/**
				 * Get an ITaskListResourceAdapter for use by the default/
				 * 
				 * @return ITaskListResourceAdapter
				 */
				private ITaskListResourceAdapter getDefaultTaskListAdapter() {
					return new ITaskListResourceAdapter() {
						/*
						 * (non-Javadoc)
						 * 
						 * @see org.eclipse.ui.views.tasklist.ITaskListResourceAdapter#getAffectedResource(org.eclipse.core.runtime.IAdaptable)
						 */
						public IResource getAffectedResource(
								IAdaptable adaptable) {
							Object resource = adaptable
									.getAdapter(IResource.class);
							if (resource == null)
								resource = adaptable.getAdapter(IFile.class);
							if (resource == null)
								return null;
							return (IResource) resource;
						}
					};
				}
				/*
				 * (non-Javadoc)