Bug 80582

Summary: [quick assist] create type of interface
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: dirk_baeumer
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Erich Gamma CLA 2004-12-09 06:02:47 EST
Context: 
1) want to introduce a strategy object for test prioritization
2) defined an interface ITestPrioritizer 
public interface ITestPrioritizer {
	Test prioritize(Test input);
}

3) now I want to easily create an implementation of this interface. 

I would like to select the interface name and then get a quick assist: implement
(or subclass in the case of a class). The quick assist should bring up the new
interface wizard properly primed with the selected interface.
Comment 1 Dirk Baeumer CLA 2004-12-09 13:23:15 EST
Doesn't Ctrl+Shift+N, Interface do the trick.
Comment 2 Erich Gamma CLA 2004-12-09 15:46:40 EST
Nope, the creation wizard isn't primed to the interface or base class that is
directly available in the editor. To do that I have to select the type in the
outline or package explorer. We should provide a direct way with no context
switching.
Comment 3 Martin Aeschlimann CLA 2004-12-10 04:07:03 EST
I could change the new type wizards to look at the current selected text and 
then to prime the wizard. But the problem of that is that this will the happen 
a lot even if you don't want it and it would be extra work for the user to 
remove the extended interface again.
So having a quick assist seems the best thing to me
Comment 4 Dirk Baeumer CLA 2004-12-10 06:03:52 EST
Ok, then lets go with the quick assist.