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 >From: "Bradshaw, Paul" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: Re: [Eap-features] Re: Suggest "implements X" or "extends X" when >Date: Fri, 1 Mar 2002 11:33:50 -0600 > >Again, you miss the point. In order to even get to the starting point of >what you suggest, I've already had to break my mental train of thought, go >over up to the package, think "brand new class", and then go and edit the >new class to be what I want, by getting the cursor over to the place where >I >can type Ctrl-Space or what-not (hell, by that point, I might as well just >type it in). The flow of my development is interrupted at that point. > >I don't understand any of the resistence to the obvious and intuitive >"extend class..." suggestions. I spent a long time looking all over for >such functionality because I couldn't believe it was missing. It just >seems >natural that it be there, and I'd like to see it. > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features