Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 149911 - [EditorMgmt] contentType file associations do not appear in File Associations pref page
Summary: [EditorMgmt] contentType file associations do not appear in File Associations...
Status: RESOLVED DUPLICATE of bug 91965
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kim Horne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 17:42 EDT by Andre Weinand CLA
Modified: 2007-11-09 11:30 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Weinand CLA 2006-07-06 17:42:23 EDT
if I create a new contentType:

	<extension point="org.eclipse.core.contenttype.contentTypes">
		<content-type
		id="foobar"
          	name="Foo Bar"
          	file-names="FOOBAR"
		priority="normal"/>
	</extension>

it is not automatically available in the File Associations preference page.
For this I have to add it to an Editor contribution as well (which introduces a redundancy).
Comment 1 Andre Weinand CLA 2006-07-06 17:44:38 EDT
I forgot to mention that the editor contributions references the contentType id, so filename should (indirectly) apply to the editor as well.
Comment 2 Kim Horne CLA 2006-07-07 09:02:20 EDT
Editor associations, in general, are a bit of a mess.  There is very little harmony between the old associations and content type associations.  Hopefully we can address this in 3.3.
Comment 3 Dani Megert CLA 2007-11-09 11:30:43 EST

*** This bug has been marked as a duplicate of bug 91965 ***