This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129558 - Use MIME lookup to register navigator panels
Summary: Use MIME lookup to register navigator panels
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Navigator (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 2 votes (vote)
Assignee: Jan Peska
: 206587 206959 216982 (view as bug list)
Depends on:
Blocks: 206954
  Show dependency tree
Reported: 2008-03-07 16:01 UTC by Andrei Badea
Modified: 2012-09-22 21:25 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Badea 2008-03-07 16:01:30 UTC
Currently, in order to provide the default XML navigator for files whose MIME types end in +xml (such as
text/x-springconfig+xml) one has to explicitly register org.netbeans.modules.xml.text.navigator.XMLNavigatorPanel for
that MIME type. The navigator support does not infer to use the navigator for text/xml if a navigator is not registered
for the more specific MIME type. There are quite many files using the +xml suffix, and all of them need to have this
dependency on xml.text.

Ways to address include adding special support to core/navigator for handling the XML MIME types, or providing an API in
xml.text to return the default XML navigator.

However, there is already support in the IDE for infering text/xml from a "+xml" MIME type: the MIME lookup. The
navigator support could either use the editor MIME lookup (over the Editors folder), or have it own MIME lookup over the
current Navigator folder.
Comment 1 Jesse Glick 2012-01-05 20:05:40 UTC
*** Bug 206587 has been marked as a duplicate of this bug. ***
Comment 2 Jesse Glick 2012-01-05 20:05:48 UTC
*** Bug 206959 has been marked as a duplicate of this bug. ***
Comment 3 markiewb 2012-09-22 21:25:59 UTC
*** Bug 216982 has been marked as a duplicate of this bug. ***