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
agWorkingSet);
		l.propertyChange(event);
		DisplayHelper.runEventLoop(Display.getCurrent(), 100);
		
		TreeItem[] items = viewer.getTree().getItems();
		
		
		assertTrue("First item needs to be project", items[0].getData().equals(
				p1));
	}
	
	
	public void testTopLevelWorkingSet() throws Exception {
		IProject p1 = ResourcesPlugin.getWorkspace().getRoot().getProject("p1");
		p1.create(null);
		p1.open(null);
		IFile f1 = p1.getFile("f1");
		f1.create(new ByteArrayInputStream(new byte[] {}), true, null);
		WorkingSetActionProvider provider = (WorkingSetActionProvider) TestAccessHelper
				.getActionProvider(contentService, _actionService,
						WorkingSetActionProvider.class);
		IExtensionStateModel extensionStateModel = contentService
				.findStateModel(WorkingSetsContentProvider.EXTENSION_ID);
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, true);
		IWorkingSet workingSet = new WorkingSet("ws1", "ws1",
				new IAdaptable[] { p1 });
		IPropertyChangeListener l = provider.getFilterChangeListener();
		PropertyChangeEvent event = new PropertyChangeEvent(this,
				WorkingSetFilterActionGroup.CHANGE_WORKING_SET, null,