Dynamic file associations in the workbench [message #6301] |
Wed, 23 April 2003 10:56 |
Eclipse User |
|
|
|
Originally posted by: prlists.yahoo.com
Hi,
I'm developing a plugin for editing Graphs (mathematical - vertices and
edges).
One feature is the options to have arbitrary file formats for saving the
graph.
i.e. I have an extension point for adding file formats to the plugin, this
way the user can save and load file in various formats.
When I load the plugin i need to register the my editor (which i defined)
to load the appropriate file formats (resolved by file extensions). The
file formats (extensions) are provided by whoever wrote the extensions to
my format extension point.
How can I load the mapping dynamically. i.e. if i have an extension which
reads and saves "*.gxl" files (for example), how do i tell the workbench
to load my graph editor with *.gxl files ? I don't want the user to set
that preference manually whenever he loads my plugin.
Thanks in advance,
Lior
|
|
|
Powered by
FUDForum. Page generated in 0.02650 seconds