Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 54557 - Launch configuration: 'move type' refactoring support
Summary: Launch configuration: 'move type' refactoring support
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 18:17 EST by Luc Bourlier CLA
Modified: 2004-05-17 10:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2004-03-11 18:17:33 EST
We need to implement a participant for 'move type' refactoring for the launch
configuration when jdt.ui release its support.
Comment 1 Luc Bourlier CLA 2004-04-08 18:55:10 EDT
Done.
I modified LaunchConfigurationMainTypeNameChange#createChangeFor(IType, String)
to take the new fully qualified name of the type instead of the new simple name,
so it can be used by the new participant.

new class : LaunchConfigurationITypeMoveParticipant
changes in :
LaunchConfigurationMainTypeNameChange
LaunchConfigurationITypeRenameParticipant
jdt.debug.ui plugin.xml
Comment 2 Luc Bourlier CLA 2004-04-08 18:57:23 EDT
Please verify, Darin W.
Comment 3 Luc Bourlier CLA 2004-04-08 19:12:02 EDT
It's not currently working if the main type is a inner type. I filed bug 57973
against jdt.ui.
Comment 4 Darin Wright CLA 2004-04-21 13:37:46 EDT
The type name gets updated, but the project does not (when I move to a 
different package & project).
Comment 5 Luc Bourlier CLA 2004-05-06 20:18:27 EDT
Fixed.
I reworked the refactoring support for launch configuration.
I created a unique change class to manage change in the main type name and in
the project name.
I also added the support for inner types.

New classes: JDTDebugRefactoringUtil, LaunchConfigurationProjectMainTypeChange
Deleted classes: LaunchConfigurationProjectNameChange,
LaunchConfigurationMainTypeNameChange.
Change in: LaunchConfigurationIJavaProject
Comment 6 Luc Bourlier CLA 2004-05-06 20:18:44 EDT
Please verify, Darin W.
Comment 7 Darin Wright CLA 2004-05-17 10:34:14 EDT
Verified