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 257432

Summary: Registration position ignored for "inherited" MIME types
Product: editor Reporter: Tomas Mysik <tmysik>
Component: -- Other --Assignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Mysik 2016-01-06 08:52:03 UTC
It seems to me that registration position is ignored for "inherited" MIME types.

Steps:

- use @NavigatorPanel.Registration for text/grunt+javascript with position 1
- start NB and open any Gruntfile.js
- in Navigator, the first selected component is the Outline one from JavaScript support (which seems to have no specific position so Integer.MAX is used)
- our component is the second one

I hope this is not a problem in Navigator itself.

Thanks a lot!
Comment 1 Tomas Mysik 2016-01-08 13:34:45 UTC
Sváťo, very likely my mistake. The Outline component has been registered for text/grunt+javascript MIME type as well (but without any position specified) - I overlooked it, sorry!

Feel free to close this issue.

Thanks.
Comment 2 Tomas Mysik 2016-01-08 13:37:09 UTC
BTW the Outline component is shown as the first/default one even if its position attribute is higher than the one of my component. But this perhaps works as designed.