Hi!

-------- Original-Nachricht --------
> Datum: Wed, 04 Jun 2008 12:26:02 +0200
> Von: alexander krohn <[EMAIL PROTECTED]>
> An: [email protected]
> Betreff: Re: [argouml-dev] Caution: ImportInterface extended!

--<snip>--

> 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".

Sounds good, but very complicated. What's the most simple solution that could
work? Maybe something like an optional module pane? So when the language c++
is selected, the import dialog calls some method 'getModulePane' and the module
returns a pane or null. If the result is not null, the import dialog adds this 
pane
to the dialog. If there's a pane, the module also has to provide some handler 
for
events happening on it's pane. When some GUI element on this pane is clicked,
the module gets the event and sets any variables that it requires etc. It might
even modify it's pane before it's redrawn, so it could add elements, disable 
some
others etc.

Feasable? How long would it take to implement?

Ciao,
Andreas

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

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

Reply via email to