From: Timo M. <me...@gm...> - 2006-01-31 16:38:11
|
Hallo Jochen, at first, thank you for the fastest maillinglist answer, I ever got. 3 Minutes, wow. ;-) The conversion method won't help me: My "Gui-Classes" extends a, let's call it Gui-Base-Class. Every GUI has to implement a method called getEditEntity, which is the editable entity in this view. Of course, every GUI-class represents a different Entity, so the return type of getEditEntity is different in every class. I declared an abstract method getEditEntity in Gui-Base-Class, to verify, that every class provides this method. In deed, it is only a marker-method. Perhaps I have to use generics to customize the return type. Never used generics, so far. Could you imagine to add contentType-tag to edit-component and do a gui4j-internal casting? Using comboBoxes this works wonderful. A new Feature-Request. :-) Thank you Timo -- Glück Auf Timo (MAIL) me...@gm... (ICQ) 10201138 (AIM) TimoLiebtEffi (JAB) tim...@ja... Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner |