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 7371 - Property Sheet for FieldElementNode type contains void
Summary: Property Sheet for FieldElementNode type contains void
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-12 00:00 UTC by Chris Webster
Modified: 2007-09-26 09:14 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 Chris Webster 2000-08-12 00:00:40 UTC
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.
Comment 1 Svata Dedic 2000-08-14 07:30:59 UTC
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 ?
Comment 2 Jaroslav Tulach 2000-08-14 07:39:59 UTC
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
Comment 3 Chris Webster 2000-08-15 01:23:59 UTC
#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.
Comment 4 Quality Engineering 2003-07-01 13:11:48 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 13:15:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.