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 56609 - Attribute not fire attribute events properly
Summary: Attribute not fire attribute events properly
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 14:42 UTC by Jan Pokorsky
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 Jan Pokorsky 2005-03-17 14:42:30 UTC
If I change the return type or the default value on a method (attribute) of the
annotation type my listener registered to the attribute is not notified about
that. Name and modifiers change events work as expected.
Comment 1 Martin Matula 2005-03-17 16:13:07 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/AttributeImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/AttributeImpl.java,v
 <--  AttributeImpl.java
new revision: 1.26; previous revision: 1.25
done
Comment 2 Jan Pokorsky 2005-03-17 16:54:34 UTC
The return type works now. Where do I have to listen to default value changes? 
Comment 3 Martin Matula 2005-03-17 17:17:44 UTC
Default value, field initial value and method body are transient elements -
there are no event notifications for them.
Comment 4 Jan Pokorsky 2005-03-17 17:31:13 UTC
Then it prevents the node view to keep the node property of the annotation type
method in sync with the edited source file. Likely not too severe.
Comment 5 Quality Engineering 2007-09-20 09:46:16 UTC
Reorganization of java component