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 138533 - UI consistency issues on activity and state diagram
Summary: UI consistency issues on activity and state diagram
Status: RESOLVED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL: http://wiki.netbeans.org/UMLRadar#sec...
Keywords:
Depends on: 135251 135730 136849 138421 138534 138675
Blocks:
  Show dependency tree
 
Reported: 2008-06-27 23:43 UTC by Yang Su
Modified: 2008-07-08 23:13 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 Yang Su 2008-06-27 23:43:51 UTC
This umbrella issue was filed based on the decision documented at
http://wiki.netbeans.org/UMLRadar#section-UMLRadar-DiagramConsistency

Please be aware, this design (as seen in 6.1) implies sub components (e.g. sub partition or region) will not be
selectable, they will not have their own context menu, users will not be able to view/edit documentation and properties
for sub components without going to project tab and selecting the corresponding sub component node on the tree first.
Comment 1 George Vasick 2008-06-28 00:01:40 UTC
UMLRadar is a living and frequently edited document.  Adding the details here so we don't loose them:

1. In the state diagram you can resize the nodes that have labels (initial state, final state, aborted final state,
etc), however in the activity diagram you are not able to resize the same type of nodes.

   1. The following nodes will be fixed size:
         1. Activity: initial, final, final flow
         2. State: initial, final, aborted final shallow history, deep history, entry, junction 

2. In the state diagram if you right click on a nodes that have labels the label will be shown even if the node is not
named. In the activity diagram the label does not show up until the element is named.

   1. This is due to the information in the metamodel. Not a diagram problem. 

3. Hover versus selected sub compartment

   1. Hover will be eliminated from the activity partition.
   2. Selected compartment highlighting will be eliminated from composite state analgous to attr an oper compartments on
a class node. 

4. sub compartments

   1. activity
         1. partitions
               1. add partition column to right
               2. add partition row to bottom 
   2. state
         1. add region column to right
         2. add region row to bottom 
   3. Activity diagram style will be used for both diagram types. 

5. Clicking in the sub compartment selects the partition node but not the composite state node.

   1. Adopt activity diagram style. 

6. Class diagram allows move when attr or oper compartment is selected. State and activity diagrams do not.

   1. Allow partition nodes and composite state node to be selected and moved by clicking on a blank area in a sub
compartment, analgous to attr an oper compartments on a class node. 
Comment 2 George Vasick 2008-06-28 00:37:17 UTC
Additional info from Thuy.  Items 1 and 2 have already been fixed.
Comment 3 George Vasick 2008-06-30 16:55:14 UTC
Item 2 above is incorrect.  Correction follows:

2. In the state diagram if you right click on a nodes that have labels the label will be shown even if the node is not
named. In the activity diagram the label does not show up until the element is named.

   1. Activity diagram should match state diagram. 
Comment 4 Yang Su 2008-07-08 23:13:27 UTC
changeset cc65b4888363 in uml-main
changeset 1cd807415f5b in uml-main
changeset 6ad543cdcd5b in uml-main