Bug 189490 [CommonNavigator] Go To->Resource won't enable
I0524 1. Open the Project Explorer in the Resource perspective 2. Create a vanilla project P 3. Create a folder F 4. Create a file resource R Open the Navigate->Go To file. "Resource..." will remain disabled.
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/WorkingSetTest.java
IPropertyChangeListener l = provider.getFilterChangeListener();
		PropertyChangeEvent event = new PropertyChangeEvent(this,
				WorkingSetFilterActionGroup.CHANGE_WORKING_SET, null,
				workingSet);
		l.propertyChange(event);
		IWorkbenchWindow activeWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
		IWorkbenchPage activePage = activeWindow.getActivePage();
		activePage.setWorkingSets(new IWorkingSet[] {workingSet});
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, true);
		viewer.refresh();
		TreeItem[] items = viewer.getTree().getItems();
		assertTrue("First item needs to be working set", items[0].getData().equals(
				workingSet));
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, false);
		viewer.refresh();
		items = viewer.getTree().getItems();
		assertTrue("First item needs to be project", items[0].getData().equals(
				p1));
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, true);
		viewer.refresh();
		items = viewer.getTree().getItems();
		assertTrue("First item needs to be working set", items[0].getData().equals(
				workingSet));
	}
	
}