Um, well, okay, but all *I* was asking for was the ability to: Right click on any class in the project or source pane, have an "Extend..." option in the pop-up menu. Select that, get a quick dialog for entering the class name, and you're done.
or <invoke Extend... command in editor for current class>, and up pops the same dialog to allow you to enter a new class name, and you're done. I guess in either case, there COULD be another text box or drop down for specifying the base class name, as long as it's already populated with the "obvious" class (the one I right clicked on, or the one in the active editor when I pressed the keystroke). So what I envision is actually simpler/cleaner that what you seemed to describe... but I don't think our suggestions conflict either. I'm sure the IDEA guys can do this gracefully and powerfully. -----Original Message----- From: "Vlad Kinik" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [Eap-features] Re: Suggest "implements X" or "extends X" when Date: Sat, 02 Mar 2002 01:17:26 Reply-To: [EMAIL PROTECTED] OK, here is possible implementation for requested functionality: 1) invoke "extend/implement new class from" 2) "Select super class/interface" box appears 3) narrow selection down to one super class/interface and hit enter (this steps are not different from ctrl-N functionality, with exception of search scope) 4) "enter class name" dialog box appears 5) edit new class name and hit OK. 6) editor creates new class and jumps there. - If function called from the editor, new class created in the same package as one of the class in the current editor. - If function called from the project/sourcepath panel new class created in the package selected at the panel view For "extend interface" sequence is the same (we show only intrfaces as "super", of course). For "extend/implement current" we start from the step 4 assuming current clas/interface as super. So if I need subclass JFrame it would be (from the current editor): <invoke>, Jfra (..me) , <enter>, MyJFrame, <enter> If I want to subclass MyJframe: <invoke>, SubJFrame, <enter> V _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
