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 26390

Summary: Connection Wizard: allow parameter type to come from local scope variables
Product: guibuilder Reporter: Steven Ostrowski <alchemista>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description Steven Ostrowski 2002-08-08 16:24:10 UTC
When choosing the target method in the connection wizard 
and selecting the source of a parameter, there should also 
be a window to select variables from local scopes.

For example, if method beanPropertyChanged
(PropertyChangeEvent evt) is the source method that then 
has the target method doSomething(PropertyChangeEvent), 
the Connection Wizard should show you that evt is in the 
local scope and could be selected as the parameter.

Currently, I've only been able to do it by typing in the 
code myself which requires knowing the parameter names and 
defeats the purpose of a visual editor.
Comment 1 Tomas Pavek 2005-05-13 15:23:03 UTC
Makes sense, but I don't think this is the main area of a visual editor.
Comment 2 Jana Maleckova 2008-09-26 14:51:47 UTC
 This issue is very old and seems nobody else complains there. According to comments of tpavek, I close this enh.