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.
Summary: | Move specification of defaultActions for ImageDataLoader to layer.xml | ||
---|---|---|---|
Product: | utilities | Reporter: | pzajac <pzajac> |
Component: | Image | Assignee: | Marian Petras <mpetras> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | API_REVIEW_FAST |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 64153 |
Description
pzajac
2005-09-13 09:40:15 UTC
Accepted. The above list of DataLoaders is wrong. The correct list is: org.netbeans.modules.image.ImageDataLoader Fixed in the trunk. Modified files: image/src/org/netbeans/modules/image/Layer.xml (1.7) image/src/org/netbeans/modules/image/ImageDataLoader.java (1.30) Diffs: http://image.netbeans.org/source/browse/image/src/org/netbeans/modules/image/Layer.xml?r1=1.6&r2=1.7&diff_format=u http://image.netbeans.org/source/browse/image/src/org/netbeans/modules/image/ImageDataLoader.java?r1=1.29&r2=1.30&diff_format=u Cau, I am modifying a lot of issues at once, as I think I have something to say in general. In NetBeans API documentation we have few places where we list "layer APIs". The most central one is http://www.netbeans.org/download/dev/javadoc/layers.html This is supposed to help module writers to find information about possible folders where it is possible to make their registrations. I believe that the ability to register actions into menu items of loaders is important and shall be documented. That is why please modify your arch*.xml documents together with the change in your layers. This is example I put into openide/loaders: <api name="Loaders-folder-any-Actions" category="stable" group="layer" type="export" > The actions that the default folder loader shows in its popup menu are read from a layer folder <code>Loaders/folder/any/Actions</code> so if any module wishes to extend, hide or reorder some of them it can just register its actions there. </api> Possible problem is that you have to modify an arch*.xml of a module which provides a javadoc, otherwise it will not be listed in the docs page. If you have such module, please modify its arch*.xml, otherwise modify your own arch*.xml, in future we can process it, even if it does not have javadoc at all. Thanks for helping to improve our developers documentation. v |