Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 97990 - CVS should update editor determination for remote files
Summary: CVS should update editor determination for remote files
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M1   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 16:33 EDT by Michael Valenta CLA
Modified: 2005-07-19 09:08 EDT (History)
0 users

See Also:


Attachments
Patch for Repo view and History view (8.24 KB, patch)
2005-06-03 15:24 EDT, Michael Valenta CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2005-06-01 16:33:40 EDT
See bug 97946 for the background. Here's the part that applies to CVS"

In order for this to work you'll need to start using getDefaultEdito(filename, 
content type) - the new editor bindings can only be resolved when the content 
type is known.  You'll need to pass the contents of the file to 
IContentTypeManager.findContentTypeFor(inputstream, filename) to determine 
this.

We should do this when opeing files from the repo view and the annotate 
command.
Comment 1 Michael Valenta CLA 2005-06-03 15:24:58 EDT
Created attachment 22354 [details]
Patch for Repo view and History view

This patch is for the repo view and history view. I havn't done te annotate
view yet as it is a bit more complicated.
Comment 2 Michael Valenta CLA 2005-06-03 16:10:36 EDT
Moving to 3.2. The benefits of this aren't big enough to warrabt putting it 
into 3.1.
Comment 3 Michael Valenta CLA 2005-07-05 12:48:56 EDT
Fix released to HEAD