[Newbies] Some very basic questions.

Ralph Johnson johnson at cs.uiuc.edu
Mon Jan 26 12:07:47 UTC 2009


> How can I create a new method in the hierarchy browser ? I haven't figured

It is very easy, but seems to be hard for first-time users to guess.

Go to any method, and just replace the text.  Double-click at the
beginning or end of the method and all the text will be selected, then
you can just type over it.  When you "accept" a method and the name is
different from the previous name, the browser will create a new method
rather than replace the old one.  In fact, it is harder than you might
think to change the name of a method.  You can't change a method's
name or delete it by just typing over the method definition.  You have
to use a menu item.

In most browsers, if no method is selected then the browser displays a
template for a method.  You can create a new method by typing over
this template and accepting it.

-Ralph Johnson


More information about the Beginners mailing list