|Re: [CDO] How to register a Resource Opener [message #1014611 is a reply to message #1011422]
||Tue, 26 February 2013 01:39
| Eike Stepper
Registered: July 2009
Am 19.02.2013 15:52, schrieb Marc Gil:|
> I was debugging the plugin org.eclipse.emf.cdo.ui in order to know how CDO Sessions View works, and I realized than
> when you double click on a resource, it tries to get the corresponding Resource Opener associated to the extension of
> the resource. If no one is obtained, the CDO Editor is opened.
> There are two methods that allows to register and unregister Resource Openers, but there are not any example about how
> to use them.
> I try to use this methods outside this plugin, and there are a discouraged access because this class (CDOSessionsView)
> is contained into an internal package.
> Which is the best way to register a Resource Opener? There exists any example?
IIRC. this mechansim has been made internally for the Dawn editors. You can use it for your own purpose but we make no
guarantee that the mechanism will even survive.
We've reworked the "open editor" story completely in 4.2 and there's more to come when Ed has committed our work on
https://bugs.eclipse.org/bugs/show_bug.cgi?id=384036 , which he says will be before EclipseCon.
Powered by FUDForum
. Page generated in 0.01469 seconds