Community
Participate
Working Groups
TM (25.01.2001 15:24:30) ITPJUI 72.02 dm 1) create a project with an empty source folder 2) select the empty source folder and open the create class wizard 3) press the "Browse" button on the enclosing class field. 4) observe: nothing happens There's nothing to show, since the source folder is empty, but I think not doing anything is a bad option. I'd rather see an empty dialog. EG (2/1/01 10:07:21 AM) can't we just disable the "Browse" button. MA (2/12/01 4:52:40 PM) I think the problem lies in the TypeSelectionDialog. It should show an empty dialog
moved to 'active'
Thisis fixed in 205. A message dialog is shown.
Now, the browse button opens a dialog, and the dialog shows also binary classes, e.g. all classes in JDK, which actually cannot be used as eclosing class. In general this gives us a huge list of classes, of which only a small subset is actually of interest.
changed so that the dialog only shows types from source. >20116
Verified. >20122. JRT.
After some consideration I've decided that the behaviour of this dialogue is quite strange. By showing types from the sources allows the creation of an inner class in a class that is outside the selected source folder. Why would anybody want to do that? A better solution would be to show an empty dialogue. >20122. JRT.
now only types from the given source folder are available in the selection dialog. the user still can name a type from another source folder, a warning is issued then. > 20124
A dialog now appears with the message 'No types available'. Good. Verified. - >20020205. JRT.