Bug 2 - Opening repository resources doesn't honor type (1GE6I1Q)
Summary: Opening repository resources doesn't honor type (1GE6I1Q)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P5 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: James Moody CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 94 9779 15392 (view as bug list)
Depends on: 5330
Blocks:
  Show dependency tree
 
Reported: 2001-10-10 21:34 EDT by Andre Weinand CLA
Modified: 2022-06-23 10:37 EDT (History)
3 users (show)

See Also:


Attachments
This is a zip of the local project I was comparing (299.99 KB, application/octet-stream)
2001-10-29 11:23 EST, John Arthorne CLA
no flags Details
This is the diff file I was comparing to (497 bytes, patch)
2001-10-29 11:24 EST, John Arthorne CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Weinand CLA 2001-10-10 21:34:47 EDT
Opening repository resource always open the default text editor and doesn't
	honor any mapping between resource types and editors.
	As a result it is not possible to view the contents of an image (*.gif file) in a sensible way.

NOTES:
EG (5/24/2001 5:13:45 AM)
	Agreed that this is needed eventually but not critical for June. 	
	There should also be a Java outliner when editing a java resource from the repository.
	Moving to VCM.

KM (5/24/01 2:09:21 PM)
	In general you cannot open a specialized editor on a remote resource because they can sometimes
	be dependent on other resources and expect these to be local.  For example, an HTML page which
	references a graphic, the HTML editor is going to try to look for the graphic to display it.

	You can't be sure that the editor was written to accomodate remote or 'missing' resources.
	We discussed this some time ago with Dave T. and felt it was safer to just use vanilla editors for now.

KM (5/24/01 4:42:09 PM)
	See also 1GE8YMJ: ITPVCM:ALL - 'Repositories View': all file types open to the text editor
Comment 1 James Moody CLA 2001-10-19 16:37:01 EDT
*** Bug 94 has been marked as a duplicate of this bug. ***
Comment 2 DJ Houghton CLA 2001-10-23 23:39:06 EDT
PRODUCT VERSION:
	110

Comment 3 John Arthorne CLA 2001-10-29 11:23:39 EST
Created attachment 30 [details]
This is a zip of the local project I was comparing
Comment 4 John Arthorne CLA 2001-10-29 11:24:03 EST
Created attachment 31 [details]
This is the diff file I was comparing to
Comment 5 John Arthorne CLA 2001-10-29 11:28:27 EST
Please ignore the attachments, I attached to the wrong PR!  I have no idea how 
that happened!

While I'm modifying this PR, I added a dependency Bug.
Comment 6 James Moody CLA 2002-02-13 16:18:28 EST
*** Bug 9779 has been marked as a duplicate of this bug. ***
Comment 7 James Moody CLA 2002-04-02 16:59:22 EST
Fixed.
Comment 8 Jeff Brown CLA 2002-04-09 18:45:57 EDT
Tries to open the registered editor, otherwise falls back to
vanilla editor.  The Java Editor seems to have trouble with
this particular usage (generated NPEs) and I suspect others
might too.

As a workaround for these unforeseen cases, we should offer
the option of forcing the use of the vanilla editor.
ie. Just like in the Navigator, the user should have the option
to choose the editor to be used.

Recommend we reopen.
Comment 9 Jeff Brown CLA 2002-04-10 15:21:54 EDT
Verified.
Opened bug #13429 instead to resolve other issues.
Comment 10 James Moody CLA 2002-04-11 10:53:49 EDT
Reopening.
Comment 11 James Moody CLA 2002-04-11 11:02:28 EDT
Reverted to old behaviour. Will reinstate new behaviour in M6.
Comment 12 James Moody CLA 2002-04-30 16:30:46 EDT
Released again.
Comment 13 James Moody CLA 2002-05-07 10:33:56 EDT
*** Bug 15392 has been marked as a duplicate of this bug. ***
Comment 14 Eclipse Genie CLA 2018-04-16 11:12:51 EDT
GitHub Pull Request 13 created by [sbegaudeau]
https://github.com/eclipse/sirius-components/pull/13
Comment 15 Eclipse Genie CLA 2022-06-23 10:37:47 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/194366