Bug 63641 Menu cleanup in JDT UI
* Navigate - Open type Hierarchy (F4) should become dynamic based on the preference setting 1) Open type hierarchy (F4) opens type hierarchy perspective 2) Show type hierarchy (F4) shows the type heirarchy view in the current perspective - Open Call Heirarchy TO Show Call Heirarchy - Show Outline (Ctrl+O) TO Quick Outline - Open type Hierarchy (Ctrl+t) TO Quick Type Hierarchy Package Explorer - Cut only show cut when the show members preference is enabled. cut is only ever enabled on source elements. Fallback is to only add cut when the action is enabled. Refactor - move introduce paramater to below change method signature
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/CCPActionGroup.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.ui.actions;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.actions.ActionGroup;
import org.eclipse.ui.part.Page;
import org.eclipse.ui.texteditor.IWorkbenchActionDefinitionIds;
import org.eclipse.jdt.internal.ui.refactoring.reorg.CopyToClipboardAction;
import org.eclipse.jdt.internal.ui.refactoring.reorg.CutAction;