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 - Registration position ignored for "inherited" MIME types
Summary: Registration position ignored for "inherited" MIME types
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-06 08:52 UTC by Tomas Mysik
Modified: 2016-01-08 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.