Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Dynamic file associations in the workbench
Dynamic file associations in the workbench [message #6301] Wed, 23 April 2003 10:56
Eclipse UserFriend
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
Previous Topic:catching the "close editor" event.
Next Topic:Workspace refresh wipes some files
Goto Forum:
  


Current Time: Sun May 11 19:55:36 EDT 2025

Powered by FUDForum. Page generated in 0.02650 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top