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 53376 - Parameters dialog in properties window
Summary: Parameters dialog in properties window
Status: VERIFIED DUPLICATE of bug 50150
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
: 53374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-13 18:46 UTC by Lukas Jungmann
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 Lukas Jungmann 2005-01-13 18:46:06 UTC
[build 200501130000]

Let's have EJB module with some beans. Open some
session bean and go to one of its business method
with the cursor. Now open properties window
(Ctrl+Shift+7). In this window, there is user able
to change the parameters of this business method.
So let's change them (eg. add new "i" parameter of
type int).

=> user can't simply build the project now, he/she
have to do some addition steps (edit interface(s)
manually)


I guess there are 2 possible solutions:

1) don't allow user to edit parameters of
business methods through properties window =>
disable this dialog

2) propagate these changes to interfaces etc...


Same issue is with webservices' operations.
Comment 1 _ ludo 2005-02-11 00:28:23 UTC
refactoring...
Comment 2 Martin Grebac 2005-02-11 09:59:36 UTC
There's no support for things like this in plain java, too. I believe
refactoring/synchronization dialog should be offered on such changes.
Anyway, it will probably need some UI input. I'm guessing the right
component, please reassign if needed.
Comment 3 Martin Matula 2005-02-11 10:13:59 UTC
Adding parameters is not possible using properties window in plain
java. So, the plain java acts as suggested in option 1). I guess the
j2ee nodes should do the same thing.
Comment 4 Martin Grebac 2005-02-11 10:54:46 UTC
several things: 

 - ejb properties do exactly the same as java, there's no difference

 - change/add/remove parameters through properties works as you say,
the problem there is that the field is editable - I CAN open dialog,
add parameters, but nothing happens at the end - really terrible behaviour

 - this bug is not just about add properties to method; there are
Exception, return type, modifiers fields as well that are editable and
no synchronisation happens
Comment 5 Martin Grebac 2005-02-11 10:57:04 UTC
*** Issue 53374 has been marked as a duplicate of this issue. ***
Comment 6 Martin Matula 2005-02-11 13:51:05 UTC
Honzo, can you fix it?
Comment 7 Martin Matula 2005-02-11 15:54:33 UTC
*** Issue 47303 has been marked as a duplicate of this issue. ***
Comment 8 Jan Pokorsky 2005-02-14 15:42:10 UTC
JavaNode properties are subject of the issue #50150. The parameters
cusomizer allowing to modify ro parameters is definitely a bug that
will be fixed under the original issue #47303.

*** This issue has been marked as a duplicate of 50150 ***
Comment 9 Lukas Jungmann 2006-06-07 16:47:09 UTC
v.