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.
[200510301800] few editor has not any registered popup action. So there is no Popup folder in system filesystem for the action instances. The editor mime-type registration combobox ignores these mime types. It will be nice to add all the editor types located in these folders: Editor/text/* Editor/application/*
If I udnerstand it correctly, it doesn't makes too much sense to put such mime-types there. Since this wizard should provide the user an ability to add menuitem to the file and/or editor context menu. But if this is not supported by the Loader (DataLoader.actionsContext() returns null) the user wouldn't see the item in the menu, even if we create "Loaders/major/minor/Actions" in the layer -> even more confusion IMHO. Not sure if the same apply to the Editor. Would be logical, but not sure. Anybody with more insigh feel free to reopen with more information.
Umm. You meant Editor *only*. So you probably know what's going on here ;) Reopening, investigating....
Don't know how it works yet, but you are right. There is another mechanism than with loaders. Just tried with SQL editor.
Ok. Finally I think this is really WONTFIX. Since the way we recognize a valid mime-types to which the user may add an editor popup menu item is that it contains a Popup folder. Otherwise we wouldn't be able to recognize between e.g. "Editors/text/x-sql", "Editors/CityLights/Default" and "Editors/ahoj/nazdar" (all without Popup subfolder). Unless mime-type folders have some special attribute or we would use some special keyword filtering (probably nonsense - we can't predict here). So closing as WONTFIX and proposing to force all Editors providers (filling bugs for them) to create empty "Editors/mime/type/Popup" folder in the SFS (in their layer.xml) which should be very easy for them and make it work in our wizard. (probably they should use xml declarative system anyway - not sure since I don't know how exactly all that editors thinks work at all). Feel free to reopen and possibly enlighten me. Thanks.
Yes it is good idea to report issues to owner of all editors implementation. I will do it.
BTW it is not wrong to expect that all folders text/* are mime-types?
It would bring probably some level of discrepanies. But maybe we would probably do this for "discrete media types" as defined in RFC 2046 (text/*, image/*, audio/*, video/*, application/*). But may be also for other nb-specific mime-type I'm not aware of. But it is rather enhancement (could you fill it?).