Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 59704

Summary: Refactoring: Classes cannot be moved in other class [refactoring]
Product: [Eclipse Project] JDT Reporter: Luc Bourlier <eclipse>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Luc Bourlier CLA 2004-04-22 17:03:12 EDT
I20040422

. create the following complation units:

Test1.java:
public class Test1 {
	class Inner {
	}
}

Test2.java:
public class Test2 {
}

. select Inner in the package explorer
. >refactor>move...
. select Test2 in Test2.java
Inner is added to Test2.java, but not as an inner class of Test2.
Comment 1 Dirk Baeumer CLA 2004-04-23 03:29:48 EDT
Markus, we have the tuning of the move dialog on the plan for M9. Can you 
please check if this is related to it.
Comment 2 Markus Keller CLA 2004-05-12 10:35:34 EDT
Fixed in HEAD. Types can now be moved into other types (note that there's only
reference updating for moving static nested types).