Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » issue: svn repositories exploring content-type external editor association
issue: svn repositories exploring content-type external editor association [message #47424] Tue, 16 June 2009 15:37 Go to next message
Joseph Gay is currently offline Joseph Gay
Messages: 3
Registered: July 2009
Junior Member
Hello,

We are using subversive as part of an RCP app, and we have run into an
issue where opening a file directly from svn repositories perspective
prior to checking out a project will associate all files of that type
with the system default editor. This wouldn't be too much of a problem,
except that we have content describers set up for particular file types,
and they will no longer run afterwards, with the end result being that
our editor launcher is no longer available for selection in the open
with menu.

If you folks think this is more appropriate to post in the RCP group, I
will move there, but I was thinking that there may be some code in a
subversive plugin that is setting up an editor association and I'm
hoping someone might be able to point me in the right direction.

Thanks.
Re: issue: svn repositories exploring content-type external editor association [message #48296 is a reply to message #47424] Fri, 03 July 2009 11:10 Go to previous message
Igor Burilo is currently offline Igor Burilo
Messages: 435
Registered: July 2009
Senior Member
Hello Joseph,

In SVN Repositories view we explicitly set file association with editors. As
I correctly understand the problem because of our manipulations with file
associations your content describers are not available in Open With menu.
Are they not available in all Open With menus, e.g. in Package Explorer or
just in SVN Repositories view?
FWIW, we populate open with menu by retrieving editors in the following way:
IWorkbench#getEditorRegistry().getEditors(filename).


> Hello,
>
> We are using subversive as part of an RCP app, and we have run into an
> issue where opening a file directly from svn repositories perspective
> prior to checking out a project will associate all files of that type with
> the system default editor. This wouldn't be too much of a problem, except
> that we have content describers set up for particular file types, and they
> will no longer run afterwards, with the end result being that our editor
> launcher is no longer available for selection in the open with menu.
>
> If you folks think this is more appropriate to post in the RCP group, I
> will move there, but I was thinking that there may be some code in a
> subversive plugin that is setting up an editor association and I'm hoping
> someone might be able to point me in the right direction.
>
> Thanks.
Previous Topic:Subversive connectors discovery
Next Topic:SVN Install fails - dependencies
Goto Forum:
  


Current Time: Thu Aug 21 00:24:21 EDT 2014

Powered by FUDForum. Page generated in 0.03131 seconds