Thomas N. schrieb:
Hi Tom!
Have you looked at the existing going independent importer settings
interface? Can it be used to provide what you need? Would an
additional settings type (e.g. list or list of files) help?
My problem was to display the classpath dialog for the Java module. In the code it was
hardcoded that after the file choosing the iteration over the selected file starts
immediately, if the condition "instanceof JavaImport" is false. :-(
So, I saw 2 options: either change the interface to give all import modules a
new feature or introduce another interface that is implemented from both
JavaImport classes (built-in and module). Maybe the latter is the better way to
go? I could change it. Here is a proposal for a new interface:
PreprocessingImportInterface extends ImportInterface {
...(my new method, but maybe another name)...
}
Then the old Interface is untouched, what do you think?
Only remaining problem: I need the Import reference for the frame, so this
needs some work, too.
Thomas
the instanceof-usage looks like a hack, please don't apply another hack
to fix it.
asking for a classpath(or additional files/folders) should be available
for all modules by using the ImportSettings.
if a module would accept this, it should tell in the ImportSettings, app
does open the second dialog and passes the additional information to the
module(via ImportSettings).
i'm not quite sure if ImportSettings is meant this way.
regards,
alexander
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]