Andreas Rückert schrieb:
[...]
Problem: if we want additional setting for some modules, it won't work.
The c++ module, as an example, should have settings for the include path,
maybe for the directories to include in the model etc. The c++ module currently displays a warning dialog after the file selection
dialog. The additional infos could be entered there, but that means an 
additional
dialog before the RE actually starts. Not so great in my eyes. I wonder, if the RE dialog could be changed dynamically. So when the user selects c++ as the language,
a few additional fields are added to the dialog and it's rerendered immediately.
i think exactly for this the ImportSettings and the Settings should be used.

the import module has to tell by that way that it wants an option called "include path", which should be a list of Settings.PathSelection(to be defined).

additionally the importer provides all labels, descriptions, etc. for showing up in the gui. the importer has to load it's own i18n-bundle for this.

this should work for "normal options". problems could appear when the options are getting more complicated, like "option B is only available, if boolean option A is checked".
--<snip>--

Ciao,
Andreas
regards,

alexander

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to