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.
In general it would be nice to have working PropertyEditors for various types defined by project APIs. During my work on webstart module needed a UI component to select list of AntArtefacts from other modules. If there was a (ex) property editor for AntArtefact[], I could just reuse it (via PropertyPanel right now) and I would not need to bother. The same applies to LibraryCustomizer, that could disappear from api if turned into PropertyEditor and probably ProjectChooser which could be editor for Project class. I understand that this may not be the highest priority, but I consider such cobundle of UI with API good practice which shall be addressed as time permits at least in the most obvious cases Project, AntArtefact[], ReferenceHelper which nearly every project type needs to provide UI for.
There was a discussion about usage of PropertyPanel on nbdev (http://www.netbeans.org/servlets/ReadMsg?msgId=715504&listName=nbdev) which questioned its usefulness, but as it seems right now, this was more comment about the API which can be replaced, the SPI - ExPropertyEditor - seemed reasonably ok to be used and useful.
This is actually multiple requests, so feel free to split up into multiple issues. Based on what I have heard mentioned so far, some may be WONTFIX, but I don't really understand the property sheet API (does anyone except Tim?) so I won't comment further.
As I mentioned to Jarda last night, ExPropertyEditor is not so good and useful - that is, its main problems are that: - Nobody understands it - PropertyEnv munges together all sorts of totally orthagonal things - managing OK buttons, finding feature descriptors, etc... - The design is optimized for ease of maintenance, at the cost of a cryptic API. In other words, it makes things easier for us by making it harder for anyone actually using it That said, go ahead and use it if you want.
Dedcided not to use the property editor paradigm.
closed