Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358193 - expandedChanged of INavigationNodeListener creates children during expanding with SWTException: Widget is disposed
Summary: expandedChanged of INavigationNodeListener creates children during expanding ...
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: navigation (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 04:09 EDT by Tihomir Todorov CLA
Modified: 2011-09-20 06:40 EDT (History)
0 users

See Also:


Attachments
A simpler example, which produces the Exception. (4.56 KB, text/plain)
2011-09-20 04:37 EDT, Tihomir Todorov CLA
no flags Details
The result of the simpler example (RienaApp.java). (5.65 KB, image/png)
2011-09-20 04:46 EDT, Tihomir Todorov CLA
no flags Details
The exception with the stack trace. (4.30 KB, text/plain)
2011-09-20 04:48 EDT, Tihomir Todorov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tihomir Todorov CLA 2011-09-20 04:09:12 EDT
Build Identifier: 20110615-0604

I want to create a navigation model like lazy loading tree, so that when i click on the plus symbol of a SubModuleNode, the node must expanded and new SubModuleNodes must created.

For this purpose i use the method expandedChanged of the class INavigationNodeListener, but i get the "SWTException: Widget is disposed" every time.

Curious of this case is, that with the method "activated" works all fine without Exceptions.

Reproducible: Always

Steps to Reproduce:
1. Override the method expandedChanged of the class SubModuleNodeListener
2. Create a new SubModuleNode using the constructor: SubModuleNode(NavigationNodeId, String)
3. Register the node using the method: registerDefinition(INavigationNode<?>, Class<? extends IController>, Object):IWorkareaDefinition 
4. Add the node to the parent node using the method addChild(C) of the class INavigationNode

All works fine but i get the above Exception every time.
Comment 1 Tihomir Todorov CLA 2011-09-20 04:37:33 EDT
Created attachment 203650 [details]
A simpler example, which produces the Exception.
Comment 2 Tihomir Todorov CLA 2011-09-20 04:46:27 EDT
Created attachment 203655 [details]
The result of the simpler example (RienaApp.java).
Comment 3 Tihomir Todorov CLA 2011-09-20 04:48:20 EDT
Created attachment 203656 [details]
The exception with the stack trace.