Hi! -------- Original-Nachricht -------- > Datum: Wed, 04 Jun 2008 14:27:02 +0200 > Von: alexander krohn <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: [argouml-dev] Caution: ImportInterface extended!
--<snip>-- > org.argouml.uml.reveng.Import in line 403 reads: > // TODO: Update configPanelExtension with extension settings > // for new language > > looks like the point to do something like > setupOptionPane(selectedModule) > > which does > selectedModule.getImportSettings() > and build the editors for these settings. But you have to call this somehow in the actionPerformed method, so the extension is displayed when the c++ language is selected (as an example), but disappears, when a different language is selected. > i have no plan about java-gui-components, so it will take me some time > to figure out how the option-panes are setup. http://java.sun.com/docs/books/tutorial/uiswing/ I guess the main problem is to insert the optional dialog somehow the in current layout, so all the other components are still displayed properly. > hard task for my flu-buzzed brains :\ Ooops, I feel sorry for you... > maybe tom morris can enlighten this process, especially where splitting > between awt- and swt-components happens. Not here. As I see it, ImportCommon is the base class for both versions (Swing and Swt). In Import, we are already in the Swing version. There would be an alternative ImportSwt class or so, with the same functionality, but based on Swt. Ciao, Andreas -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
