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 110328 - need to clean up CDFS
Summary: need to clean up CDFS
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords:
Depends on:
Blocks: 110808
  Show dependency tree
 
Reported: 2007-07-19 19:53 UTC by Sherry Zhou
Modified: 2008-04-04 22:59 UTC (History)
0 users

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 Sherry Zhou 2007-07-19 19:53:40 UTC
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.
Comment 1 Yang Su 2007-08-17 01:31:49 UTC
According to http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html, this highly visible usability problem is a p3
Comment 2 George Vasick 2007-08-20 16:20:21 UTC
I would like to keep this at P2 since it is highly visible.
Comment 3 Craig Conover 2007-08-20 19:43:01 UTC
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.
Comment 4 Craig Conover 2007-08-21 21:28:26 UTC
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.
Comment 5 Sherry Zhou 2007-08-28 18:38:31 UTC
verified in build 0828
Comment 6 George Vasick 2008-04-04 22:59:03 UTC
see http://wiki.netbeans.org/IZ110328 for additional info.