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 25957 - fire* methods' parameter type should be FQN
Summary: fire* methods' parameter type should be FQN
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 10:52 UTC by Jan Becicka
Modified: 2003-06-30 16:17 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 Jan Becicka 2002-07-24 10:52:16 UTC
[200207232340]
Create a New Unicast Event Source. Generate 
event firing methods and pass event as a 
parameter. Try it for 
java.awt.event.ActionListener.

It will generate 
private void fireActionListenerActionPerformed
(ActionEvent event) {

but it is not compilable. Please generate FQN 
(java.awt.event.ActionEvent) instead of simple 
name.
Comment 1 Jan Becicka 2002-07-24 11:16:51 UTC
It looks like "Pass Event as Parameter" does not work at all. Event is
always passed regardless of checkbox state.
Comment 2 Tomas Hurka 2002-08-13 18:27:04 UTC
I am sorry, but it works for me on 20020813 dev build. Please reopen 
with more detailed explanation, how to reproduce it. Thanks.
Comment 3 Jan Becicka 2002-09-18 12:47:23 UTC
1. Add Unicast Event Source
2. Type "java.awt.event.ActionListener", 
Generate Implementation, Generate Event Firing 
Methods, but do not Pass Event as Parameter
3. private void 
fireActionListenerActionPerformed 
(java.awt.event.ActionEvent event) is 
generated, but I don't want to Pass Event as 
Parameter.

Comment 4 Jan Becicka 2002-09-18 12:58:08 UTC
There are two bugs regarding "events" in this 
report.
The second one is:
1. Add Multicast Event Source
2. Type: java.awt.event.ActionListener, 
Generate ArrayList Implementation, Generate 
Event Firing Methods, Pass Event as Parameter. 
4. private void 
fireActionListenerActionPerformed(ActionEvent 
event) is generated. But event's type should 
be FQN, not just ActionEvent.
Comment 5 Tomas Hurka 2002-09-20 13:42:49 UTC
Ok, found it. This bug is caused by mounting of JDK sources by 
editor. In this case Identifier-s are taken from source files and 
they are not fully qualified. Fixed in trunk.
Comment 6 Jan Becicka 2002-10-14 16:11:36 UTC
Verified in 200210090100
Comment 7 Svata Dedic 2002-12-03 08:28:30 UTC
For the records - it is
src/org/netbeans/modules/beans/BeanPatternGenerator.java 1.19->1.20
Comment 8 Jaroslav Tulach 2002-12-03 09:54:31 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 9 Svata Dedic 2002-12-03 09:58:25 UTC
Merged into r-3.4.1:

trun/cvs/beans/src/org/netbeans/modules/beans/BeanPatternGenerator.java,v
 <--  BeanPatternGenerator.java
new revision: 1.19.84.1; previous revision: 1.19
Comment 10 Quality Engineering 2003-06-30 16:17:23 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.