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 90945 - Interactions w/ Collapsed diagram elements should auto-expand element
Summary: Interactions w/ Collapsed diagram elements should auto-expand element
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexey Anjeleevich
URL:
Keywords:
: 90947 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-12 12:13 UTC by Michael Frisino
Modified: 2007-02-14 07:40 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 Michael Frisino 2006-12-12 12:13:59 UTC
NOTE - Engineering do not implement this until we get clearance from HIE. This
is "proposal" at this point.

Proposal - interactions with collapsed diagram elements should result in
auto-expansion of the collapsed element

3 Use cases apply. I will open separate and make this an umbrella issue because
the 3 use cases will require different engineering assignemnts and different
testing.

UC1 - User is traversing and selecting Navigator nodes - some of these Navigator
nodes correspond to Diagram elements which are in a collapsed state.

UC2 - User invokes a context menu action (or a Element tool bar action) on a
collapsed Diagram element.

UC3 - User is debugging a BPEL process. 
User is stepping through the process.
User steps into a collapsed BPEL element.

Setting up 3 dependent issues for this.
Comment 1 Michael Frisino 2006-12-12 13:04:31 UTC
*** Issue 90947 has been marked as a duplicate of this issue. ***
Comment 2 Michael Frisino 2006-12-12 13:05:27 UTC
On second thought. I am not creating separate issues. There are other use cases
and it seems a bit extreme to set up separate issues for each one because we
have now determined that a single fix can address all use cases - assuming that
we want the same response for all use cases. The only reason to open separate
issues is if we determine that there should be different responses for some use
cases. However, I suggest this will be problemeatic from an implmentation point.
Also, from a useabiility point, it seeems if we can be consistent it will be
better anyway.
-
Additional use cases:

UC4 - User selects an error message in the Validation output window.
- User expect the corresponding node in diagram to be selected.
- If corresponding node is inside collapsed container, then container should
auto expand.

UC5 - User is in source editor 
- User invokes the Go To Design action (new)
- Editor switches to design view
- User expect the corresponding node in diagram to be selected.
- If corresponding node is inside collapsed container, then container should
auto expand.


In summary, these cases can be reduced to a single axium. Any action resulting
in the invocation of setActiveNode on the diagram view should cause the Diagram
to show the active node. If the active node is hidden because it is inside a
collapsed container then the container hierarchy needs to be auto-expanded in
order to allow the active node to become visible to user.

Engineering - please go forward with this implementation. 
Comment 3 Alexey Anjeleevich 2007-01-19 15:41:49 UTC
Fixed for UC1, UC4, UC5, and maybe for UC3
Comment 4 Alexey Anjeleevich 2007-01-22 11:18:58 UTC
Fixed.
Comment 5 Mikhail Kondratyev 2007-02-14 07:40:08 UTC
Verified in Milestone 6a