Community
Participate
Working Groups
I would like to see the the class that is selected become the default super class in the New Class dialog when the dialog is started from fith clicking on a class in the Packages, Outline or Hierarchy views. Alternatly a "Create new subclass" mention option in the above contexts.
This is already possible: The 'New class wizard' initializes the super class if the currently selected element is a class. Note that when you select a Compilation Unit, the initial selection is set to the same package as the Compilation Unit.
I am now using build 20011219. The 'New Class Wizard' dialog will fill in the name of the class that is in the Hierarchy View if that view is selected. But what if you use the right click menu on a class in the Package View and select New->Java Class then the super class is still java.lang.Object (although the package is set to the package of the selected class.
You can select a type (not the Compilation Unit) in the packages view. In this case the type is used as the base class.