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
private void collectAllResources(IContainer container,ArrayList resources,ResourcePatternFilter filter) {
	try {
		IResource members[] = container.members();
		for (int i = 0; i < members.length; i++){
			IResource r = members[i];
			if(filter.select(getNavigator().getViewer(),null,r))
				resources.add(r);
			if(r.getType() != IResource.FILE)
				collectAllResources((IContainer)r,resources,filter);
		}
	} catch (CoreException e) {
	}
}
/**
 * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
 */
public void dispose() {
	
}
/**
 * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
 */
public void init(IWorkbenchWindow window) {
	workbenchWindow = window;
}
/**
 * Collect all resources in the workbench, open a dialog asking the user to
 * select a resource and change the selection in the navigator.
 */
public void run(IAction action) {