Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (o instanceof IFile)
				continue;
			if (o instanceof IAdaptable) {
				Object resource= ((IAdaptable)o).getAdapter(IResource.class);
				if (!(resource instanceof IFile))
					return false;
			} else {
				return false;
			}
		}
		return true;
	}
	private void makeActions() {
		ISelectionProvider provider= getSelectionProvider();
		fOpenCUAction= new OpenResourceAction(provider);
		fPropertyDialogAction= new PropertyDialogAction(getShell(), provider);
		
		fShowNavigatorAction= new ShowInNavigatorAction(provider);
		fAddBookmarkAction= new AddBookmarkAction(getShell());
		provider.addSelectionChangedListener(fAddBookmarkAction);
		fStandardGroups= new ContextMenuGroup[] {
			new BuildGroup(),
			new ReorgGroup(),
			new GenerateGroup(),
			new JavaSearchGroup()
		};
		
		fStandardActionGroups= new CompositeActionGroup(new ActionGroup[] {
				new OpenActionGroup(this), new ShowActionGroup(this), new GenerateActionGroup(this)});