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 103550 - Add ability to display bean properties in Navigator and Members view
Summary: Add ability to display bean properties in Navigator and Members view
Status: RESOLVED DUPLICATE of bug 90907
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 11:02 UTC by gborkowski
Modified: 2007-05-09 21:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gborkowski 2007-05-09 11:02:49 UTC
In NB 5.5 when java class node in explorer was expanded, there was "Bean
patterns" node, showing bean properties. In NB 6.0 this was removed. Java class
node are now leaves - what is good decision, IMHO. But the ability to display
Java bean properties should be implemented in Navigator view and Memebers view.
Simply there should be a switch "Show bean properties" and they should have
different icon and node apart from fields, methods, and constructors. 
Additionaly the read only properties (no setXXX method) should have special badges.
Comment 1 Petr Hrebejk 2007-05-09 14:53:02 UTC
Ad Read only vs. Read/Write properties) They always had different icons.

IMO this is a dupe of #90907. The branch contains what you propose. With a
little difference. The Beans view is not integrated into the MembersView it is a
separate view in Navigator. Integrating it into MembersView is not bad idea at
all. I guess we can continue implement it separately and integrate later if we
decide to do so.
Comment 2 _ wadechandler 2007-05-09 16:45:08 UTC
The idea to have it integrated into the members view I had also.  We need to be
able to do one or the other, and working on both at the same time seems like
more work.  Which do you two propose?  Petr has already begun the work on the
separate nav panel.  So it has already began.  If we can have the tree for bean
patterns in a separate panel it might make it easier to understand what it is
the user will be working on, however, when adding new setters/getters these need
 to be able to be bound to the BeanInfo especially if the read or write method
differs from standard bean patterns.  See the wiki listed in the other issue for
more details on this.
Comment 3 _ wadechandler 2007-05-09 18:31:14 UTC
It seems to me we need to be using the other issue and the wiki page for it as
things have already started there.  Lets close this one as a duplicate so we
don't have conversations in two places.  What do you think?
Comment 4 gborkowski 2007-05-09 21:24:15 UTC
Ok I agree, it is better to keep it in one issue.
I put it as separe issue, because I thought it is the much "lighter" version:
instead of whole Beans Info I just wanted to add new node type into Navigator
and Members window. Now there are "field", "method" and "constructor" nodes. I
just wanted to add "property" node type, and the new filtr to turn on/off
showing properties nodes.

This, however, obviously does not mean that Bean Info should be throw away, and
can be implemented probably in one go. 
So I mark it as duplicate, following your suggestion.

BTW: the wiki pointed from 90907 is not reachable: before Access Denied, now I
get Server not found.

*** This issue has been marked as a duplicate of 90907 ***