Bug 3829

Summary: Smart rename button enabled when no smartness is available (1GEUVHN)
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: UIAssignee: Andre Weinand <andre_weinand>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P4    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: All   
OS: Windows NT   
Whiteboard:

Description Erich Gamma CLA 2001-10-10 23:01:33 EDT
TM (6/5/2001 18:17:48)
	sdk 118

	1) create a class with one method
	2) create a copy of the .java file, rename the single method
	3) choose "compare with each other"
	4) you get a structure compare window. It has a "smart compare" button (a little lightbulb)
	5) press the smartness button
	6) observe: nothing changes.

	According to AW, no smartness algorithm is implemented for two-way compare. We should
	 not show the button, then (or disable it). Even better, we could check whether the smartness
	would change anything in the UI and disable when nothing would change.
Comment 1 Martin Aeschlimann CLA 2001-10-16 11:13:27 EDT
moved to 'active'
Comment 2 Erich Gamma CLA 2001-11-10 16:33:01 EST
discussed with Andre:
- either we add smartness for the 2-way compare case
- the button doesn't show up for 2-way compares
Comment 3 Andre Weinand CLA 2002-01-31 06:30:11 EST
fixed in > 20020130.
Comment 4 Claude Knaus CLA 2002-02-13 10:00:27 EST
verified in 20020212-I