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 90425 - Activity Group properties are broken and some more issues
Summary: Activity Group properties are broken and some more issues
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Activity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ jyothivasa
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-12-01 12:34 UTC by Sergey Petrov
Modified: 2006-12-04 11:20 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 Sergey Petrov 2006-12-01 12:34:19 UTC
reproducible with 061130_13
(wasn't reproducible with 061128)

steps:
1. create activity diagram
2. add activity group
3. select the group
properties for Expression appears, should be properties for Unnamed activity group
4. try ctrl-shift-5, the group isn't selected in project tree

workaround: manually find and select the group in project tree go access properties
Comment 1 Trey Spiva 2006-12-01 16:50:46 UTC
We thought that was a better solutiion.  Basically properties that was not
visible before, are now visible.

So, this is working as designed.
Comment 2 Sergey Petrov 2006-12-01 16:57:03 UTC
yes may be it's good to show properties for expression but
1) only when expression is selected
2) be able to see properties for "full" element when element is selected
Comment 3 Sergey Petrov 2006-12-01 16:57:41 UTC
in any case wrong design is a bug
Comment 4 Sergey Petrov 2006-12-01 17:03:01 UTC
oh, yes, I should file a bug for classes, i.e. to be consistent with new design
when class is selected properties should be for constructor for example and the
same for all elements with subelemnts, select in model should work for other
elements too :), I hope it's not a design
Comment 5 Peter Lam 2006-12-01 18:29:18 UTC
Trey read it wrong. The selection on the element itself should show properties
for the element, not the compartment.
Comment 6 _ jyothivasa 2006-12-01 21:19:38 UTC
Added a condition in ETDrawEngine's getSelectedCompartments() to add the
expression compartment to selectedCompartments only when it was previously selected.
Comment 7 Sergey Petrov 2006-12-04 11:20:54 UTC
verified with rc2