Bug 33216 Source actions in context menu on types inconsistency
1) select a type in the package explorer 2) bring up the context menu ->the source actions are shown in-line and the menu is huge. Given that we show a source submenu in other parts (e.g. the editor) and do the same for the refactoring actions we should also move the source actions into a submenu.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
public ClassOnlyAction() {
				super();
				setText(JavaEditorMessages.getString("JavaOutlinePage.GoIntoTopLevelType.label")); 
				setToolTipText(JavaEditorMessages.getString("JavaOutlinePage.GoIntoTopLevelType.tooltip")); 
				setDescription(JavaEditorMessages.getString("JavaOutlinePage.GoIntoTopLevelType.description")); 
				JavaPluginImages.setLocalImageDescriptors(this, "gointo_toplevel_type.gif"); 
				IPreferenceStore preferenceStore= JavaPlugin.getDefault().getPreferenceStore();
				boolean showclass= preferenceStore.getBoolean("GoIntoTopLevelTypeAction.isChecked"); 
				setTopLevelTypeOnly(showclass);
			}
			/*
			 * @see org.eclipse.jface.action.Action#run()
			 */
			public void run() {
				setTopLevelTypeOnly(!fTopLevelTypeOnly);