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.
1. The property sheet for org.openide.src.nodes.FieldElementNode Type contains the type void which is not a valid java type for fields. 2. ElementNode inner class org.openide.src.nodes.ElementProp should be declared as protected static abstract class ElementProp, to allow visibility to subclasses outside the package.
A correction: I assume the objection is against property editor for org.openide.src.Type having "void" in the dropdown list. The property editor is a general PE for the type org.openide.src.Type, not for "types allowed for a field". We can explicitly specify a more restricted PE in FieldElement's BeanInfo. As for 2: I don't find the class to be so much usable to the outside world to make it a part of APIs; it is really a helper class for the package. Could you clarify what support are you interested in ?
The problem with property sheet should be solved by enhanced support for property editors which is still in design process. See http://openide.netbeans.org/proposals/ReasonsToDeleteEditorsPackage.html
#2. I am working on an ejb module, where the cmp field deployment descriptor properties are represented using some of the normal field properties along with additional properties. The nodes inherits from FieldElementNode but references several other classes bean, primary key. Anyway, polymorphism needs to be used to provide the behavior appropriate for ejb nodes.
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.