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 95296 - Action to rename atomicaly an MBean class and interface
Summary: Action to rename atomicaly an MBean class and interface
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: JMX (show other bugs)
Version: 5.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Jean-francois Denise
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 16:38 UTC by Jean-francois Denise
Modified: 2007-02-12 16:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-francois Denise 2007-02-12 16:38:27 UTC
> You want something to rename the class and interface of your MBean  or MXBean
in 1 action, right?
>
> Selecting the interface to change the class name seems to me a little
difficult to achieve. Multiple classes can implement this interface, which one
to modify? We could present all the classes (of your project) that are
implementing it and let you select the one to rename. At the same time we will
have to update all the other classes with an "implements newInterfaceName".
> I have the feeling that it will be quite complex.
>
> Selecting the class to change the interface name seems to me a little better
but still difficult to achieve. We need to expose the potential impact. All the
other classes that are implementing this interface will have to be updated
(change implements) with the new name.
>
> This feature could be integrated somewhere in the NetBeans Refactoring. I will
log an RFE to track your requirement.