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 56380 - MDR sometimes doesn't fire change events (was: Navigator not updated when overriding methods for node in Explorer)
Summary: MDR sometimes doesn't fire change events (was: Navigator not updated when ove...
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: RANDOM
Depends on:
Blocks:
 
Reported: 2005-03-14 13:46 UTC by Milan Kubec
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Milan Kubec 2005-03-14 13:46:32 UTC
[dev-200503131900, JDK 1.5.0_02]

Steps to reproduce:
1) Select some java source file node in Explorer in Projects view
2) Press Ctrl+I
3) Select some method to override and click OK
4) Navigator view is not updated and overriden method doesn't change icon
Doing the same while selecting the source in Editor updates Navigator view.
Comment 1 David Simonek 2005-03-14 16:29:30 UTC
Yo, but this is reproductible only sometimes. I managed to reproduce only when I
pressed Ctrl+I as you say as very first action in running IDE. After any typing
into editor, Navigator starts to respond.

I found out that MDR events are not coming into Navigator in described
situation. I checked if my listener is active and indeed it seems that MDR
somehow didn't fire the change.
Perhaps I overlooked smt, any help appreciated.
Comment 2 Martin Matula 2005-03-15 16:15:30 UTC
Fixed. Dafe, you should now be able to remove the code that adds a listener to
the clazz.

Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v
 <--  ResourceImpl.java
new revision: 1.74; previous revision: 1.73
done
Comment 3 Milan Kubec 2005-06-30 12:29:22 UTC
Verified in dev-200506291800.
Comment 4 Quality Engineering 2007-09-20 11:49:34 UTC
Reorganization of java component