Bug 20051 Renaming: Operation cannot be performed
Using the 06/12 integration build. 1. Create a plug-in project. 2. Try to rename it using refactor->rename..., you get the Java message dialog saying: "The resource is not on the build path of a Java project". First, what does this message mean? Second, are we not allowed to change the name of a PDE project after it is created?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionUtil.java
package org.eclipse.jdt.internal.ui.actions;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
/*
 * http://dev.eclipse.org/bugs/show_bug.cgi?id=19104
 */
public class ActionUtil {