Bug 198499 - [extract interface] Propose name for extracted interface in extract interface dialog
Summary: [extract interface] Propose name for extracted interface in extract interface...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 05:01 EDT by Tal Yacobi CLA
Modified: 2007-08-02 04:54 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tal Yacobi CLA 2007-08-01 05:01:13 EDT
Right clicking on a java class and clicking Refactor-> Extract Interface
opens the Extract Interface dialog. The name of the new interface created is left blank.
Whenever I create a new interface I simply add the letter I to the name of the class. I believe most java programmers use a prefix or suffix attached to the class name. It would be nice to have a default name in the dialog, possibly with a prefix or suffix defined in the java preferences page.
This problem causes more irritation due to the fact that the dialog is modal.
You must copy the name of the class before opening the dialog and then paste it in the name field and add an I as a prefix. If you forget to copy the name of the class, you must either type it in manually or close the dialog and start anew.