Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 129558 - Use MIME lookup to register navigator panels
Use MIME lookup to register navigator panels
Status: NEW
Product: platform
Classification: Unclassified
Component: Navigator
All All
: P2 with 2 votes (vote)
Assigned To: Jan Peska
: 206587 206959 216982 (view as bug list)
Depends on:
Blocks: 206954
  Show dependency treegraph
Reported: 2008-03-07 16:01 UTC by Andrei Badea
Modified: 2012-09-22 21:25 UTC (History)
2 users (show)

See Also:


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. ***

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo