File extension for plugin interface
Posted: Mon Mar 28, 2005 5:40 pm
Hi all,
I'm not sure if perhaps I'm missing the obvious, or just haven't tried the right combination, but I can't figure out any way via the plug-in interface to specify that a plugin can have more than one default file extension. I don't particularly if Dplot only uses one of them as a preliminary check to determine which plugin to use when you drag a file in (as the typecheck function takes care of it), but I want to specify multiple file extensions to appear in the File Open dialog. I tried specifying the extensions using the "|ext1|ext2||" notation, using various seperators, etc with no luck. It seems like allowing the plugin to specify multiple extensions to show up in the File Open would be real simple to add.
Thanks,
-Eric Griss
I'm not sure if perhaps I'm missing the obvious, or just haven't tried the right combination, but I can't figure out any way via the plug-in interface to specify that a plugin can have more than one default file extension. I don't particularly if Dplot only uses one of them as a preliminary check to determine which plugin to use when you drag a file in (as the typecheck function takes care of it), but I want to specify multiple file extensions to appear in the File Open dialog. I tried specifying the extensions using the "|ext1|ext2||" notation, using various seperators, etc with no luck. It seems like allowing the plugin to specify multiple extensions to show up in the File Open would be real simple to add.
Thanks,
-Eric Griss