Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Fri May 09 14:17:54 EDT 2025

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

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

Back to the top