Bug 33103 Non externalized menu names in JDT UI
RC1 There are references to non-externalized names in JDT which show up in the pulldown for the PackageExplorer. They appear to be in: PackagesView.java - org.eclipse.jdt.ui/src- jdt/org/eclipse/jdt/internal/ui/browsing LayoutActionGroup.java - org.eclipse.jdt.ui/src- jdt/org/eclipse/jdt/internal/ui/packageview
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/LayoutActionGroup.java
return 1;
	}
	
	static IAction[] createActions(PackageExplorerPart packageExplorer) {
		IAction flatLayoutAction= new LayoutAction(packageExplorer, true);
		flatLayoutAction.setText(PackagesMessages.getString("LayoutActionGroup.flatLayoutAction.label")); 
		JavaPluginImages.setLocalImageDescriptors(flatLayoutAction, "flatLayout.gif"); 
		IAction hierarchicalLayout= new LayoutAction(packageExplorer, false);
		hierarchicalLayout.setText(PackagesMessages.getString("LayoutActionGroup.hierarchicalLayoutAction.label"));	  
		JavaPluginImages.setLocalImageDescriptors(hierarchicalLayout, "hierarchicalLayout.gif"); 
		
		return new IAction[]{flatLayoutAction, hierarchicalLayout};
	}
}
class LayoutAction extends Action implements IAction {
	private boolean fIsFlatLayout;
	private PackageExplorerPart fPackageExplorer;
	public LayoutAction(PackageExplorerPart packageExplorer, boolean state) {
		fIsFlatLayout= state;
		fPackageExplorer= packageExplorer;
	}
	/*
	 * @see org.eclipse.jface.action.IAction#run()
	 */
	public void run() {
		if (fPackageExplorer.isFlatLayout() != fIsFlatLayout)
			fPackageExplorer.toggleLayout();
	}
}