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.
build 070719 The issue is coming from a 'user error' which select both a class node and its operation to generate a sequence diagram. It causes unexpected result. So UML should prevent such action by disable the context menu item. From Trey Selecting a class has nothing to do with SQD RE. So, should we disable the menu item if something other than a operation is selected? Also should the menu item be disabled if more than one node is selected? From George In general, you can only RE a single operation. In my mind, we shouldn't allow such a selection. In a case like yours, we could possibly take a guess at what the user meant and do the the right thing. If any other model elements were also selected, we would have to report some kind of error. I ran a few experiments. We need to clean up CDFS a little: If a single operation or interaction is specified, the choices should be collaboration or sequence. Note, both a sequence and a collaboration diagram are allowed under a single interaction. Any other model element selections, either single or multiple, should should display the other 6 diagram types, but not collaboration or sequence, as choices.
According to http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html, this highly visible usability problem is a p3
I would like to keep this at P2 since it is highly visible.
CDFS and RE Operation when an operation is selected do the same thing. Why do we need two actions then? We should either remove CDFS when an operation is selected, or get rid of RE Operation altogether.
When more than one node is selected, if one of them is an operation, then the CDFS and RE Op actions will not be available. All 8 diagrams are available if non-operation nodes selected (class, interface, etc). It is valid to create a sequence or collaboration diagram if non-operation nodes are selected. It just allows the diagram to be populated with lifelines but no interactions. This can be revisited if necessary, but seems helpful to leave these two diagrams as available selections and restrictive if removed.
verified in build 0828
see http://wiki.netbeans.org/IZ110328 for additional info.