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
workingSet);
		l.propertyChange(event);
		
		TreeItem[] items = viewer.getTree().getItems();
		
		
		assertTrue("First item needs to be working set", items[0].getData().equals(
				workingSet));
	}
	
	
	public void testTopLevelChange() 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);
		IExtensionStateModel extensionStateModel = contentService
				.findStateModel(WorkingSetsContentProvider.EXTENSION_ID);
		 
		
		INavigatorContentExtension ce = 
				contentService.getContentExtensionById(WorkingSetsContentProvider.EXTENSION_ID);
		ce.getContentProvider();
		
		IWorkingSet workingSet = new WorkingSet("ws1", "ws1",
				new IAdaptable[] { p1 });
		WorkingSetActionProvider provider = (WorkingSetActionProvider) TestAccessHelper
		.getActionProvider(contentService, _actionService,
				WorkingSetActionProvider.class);