From: "Sergei Rodionov" <[EMAIL PROTECTED]>
> 8) Well it shouldnt be.

Well, consider what would happen if you declare a class "MyButton" which
extends "JButton" and you declare an abstract method:

abstract class MyAbstractButton extends JButton {
  abstract void doIt();
}

Now suppose you extend that class:

class MyConcreteButton extends MyAbstractButton {
}

With that, the class will not immediately compile since the abstract method
is unimplemented.  Therefore, I hit CTRL-I and choose the one and only
option available and voila!  I am done.  If Idea worked as you think it
should I would be presented with a dialog containing almost 100 methods --
none of which I am the least bit interested in -- and also the single
abstract method that I _must_ implement.  Which is better behavior?

Kirk

----- Original Message -----
From: "Sergei Rodionov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 5:12 PM
Subject: Re: [Eap-list] Issues with Latest Build IDEA on Mac OS X


> Kirk Woll wrote:
>
> >But what do you both mean?  Oddly, the behavior Elizabeth wanted is
> >precisely the way Idea already behaves.  Abstract methods declared in a
> >super class do in fact only show up in the "implement methods" dialog.
> >Which is as it should be.
> >
>
> 8) Well it shouldnt be. You do extend abstract class in order to get
> final class
>  therefore any method that you about to make with same signature as parent
> class is overriding - so methods should be in "override". And you do
> implement
> interface - so whatever methods are in interfaces - they should be in
> "implement" menu.
>
> I.e i know that IDEA does put abstract methods into "implement" menu,
> but it doesnt
> change fact that they shouldnt be there from purely Java point of view
> 8) And no - i dont
> want that straighten out, b/c too many of us already got used to it 8)
>
>
> Cheers,
> Sergei.
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
>


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to