Bug 26222 [Navigator] Goto resource should work on the package view as well.
Build id: 200211130841 Open a Java Perspective. Enable the Resource Navigation action set. Activate Navigator. The goto type is disabled. Activate the Hierarchy view. Go to resource is enabled (** should be disabled). The goto resource should work only if Navigator is active. And the package view should be able to plug a handler for that action so that Go to resource can be used in the package view also since it shows resources.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/GoToResourceAction2.java
* Returns the resource navigator to operate on.
 * A navigator view is opened if it is not open already.
 * 
 * @return the resource navigator to operate on.
 */
private IResourceNavigator getNavigator() {
	IWorkbenchPage activePage = workbenchWindow.getActivePage();
	IViewPart view = activePage.findView(IPageLayout.ID_RES_NAV);
	IResourceNavigator navigator = null;
	
	if (view == null) {
		try {
			view = activePage.showView(IPageLayout.ID_RES_NAV);
		} catch (PartInitException exception) {
			DialogUtil.openError(
				workbenchWindow.getShell(),
				WorkbenchMessages.getString("GoToResource.showNavError"), 
				exception.getMessage(),
				exception);
		}	
	}
	if (view instanceof IResourceNavigator) {
		navigator = (IResourceNavigator) view;
	}
	return navigator;
}
/**
 * Collect all resources in the workbench and add them to the <code>resources</code>
 * list.
 */