With eclipse, how to hide superclasses methods in Content Assist?
Asked Answered
D

1

7

For example, I have:

JPanel pan = new JPanel();

then I do "pan." and eclipse shows Content Assist. In this content assist, there are all methods in JPanel class and all methods in all JPanel superclasses (a lots). I want that eclipse shows me only the methods of the JPanel class, not the methods of its superclasses.

how to do that?

Diddle answered 9/2, 2011 at 14:49 Comment(3)
you want to hide one of the main principle of the object oriented programming?Paperback
when you write code, theory and practice are 2 different things... don't write unuseful comments please...Diddle
Have a look here for excluding types permanentlySeaborne
T
0

Its not content assist, but you can use Ctrl + O to see all methods of class without superclass.

Totalitarian answered 10/2, 2011 at 21:35 Comment(1)
hmm.. the outline.. nice but is not what I was looking for.. I hope that there is another solution.. however thanks for the help...Diddle

© 2022 - 2024 — McMap. All rights reserved.