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.
Alt-Shift-A and Alt-Shift-M are used to add attribute and operation respectively, if the class or interface element is selected. However, if an attribute is selected (Attributes comparment is in focus), Alt-Shift-M to add operation does not work. The same is for Alt-Shift-A if an operation is selected (Operations comparment is in focus). Both shorcuts Alt-Shift-A and Alt-Shift-M should work regardless of which compartment is in focus.
workaround: reselect the element using Tab traversal.
If an attribute is selected (i.e. the attribute compartment is in focus), I think, logically, it makes sense not to allow users creating an operation using ALT-Shift-M. It's a context-sensitive action. It's like when you select an attribute, you see only "Create Attribute" menu item on its popup menu. The same argument for Operation, i.e. when an operation is selected, creating an attribute using the short cut should not occur. Let me know what think.
As per the off line discussion with Trey and Peter, we all agree to fix this issue. changeset 59e29d16b1b7 in uml-main details: http://hg.netbeans.org/uml-main?cmd=changeset;node=59e29d16b1b7
Reviewed
verified in build 20080916.
*** Issue 139535 has been marked as a duplicate of this issue. ***