Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339845 - SubModuleNode expanded state initially not synchronized with SubModule-Tree of Module
Summary: SubModuleNode expanded state initially not synchronized with SubModule-Tree...
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.0.0.M6   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 04:06 EDT by Nobody - feel free to take it CLA
Modified: 2011-05-03 10:17 EDT (History)
1 user (show)

See Also:


Attachments
Showing the ModuleTree not honoring the expanded State of the second SubModule (37.69 KB, image/png)
2011-03-14 04:11 EDT, Nobody - feel free to take it CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody - feel free to take it CLA 2011-03-14 04:06:08 EDT
If an expanded SubModuleNode is added dynamically to a module the exapnded state is not synchronized with the tree.
But the height of the module is calculated honoring the expanded state.
Comment 1 Nobody - feel free to take it CLA 2011-03-14 04:11:34 EDT
Created attachment 191084 [details]
Showing the ModuleTree not honoring the expanded State of the second SubModule
Comment 2 Nobody - feel free to take it CLA 2011-03-14 04:37:27 EDT
Correction of description:
The TreeRidget handles the expanded state in the right way. 
But the calculation of the height of the module is wrong. 


Steps to reproduce:
- create SuBmoduleNode1(expanded) 
- create and add SuBmoduleNode2(expanded) to sm1
- add SuBmoduleNode1 to your current node.

-->
+ The current node is not expanded
+ The TreeRidget reflects the state in the right way
- The calculation of the Module-height doesn´t honor that current node isn´t expanded
Comment 3 Nobody - feel free to take it CLA 2011-03-14 06:21:33 EDT
SWTModuleController now honors the expanded state of successor child nodes