Community
Participate
Working Groups
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.
Created attachment 203650 [details] A simpler example, which produces the Exception.
Created attachment 203655 [details] The result of the simpler example (RienaApp.java).
Created attachment 203656 [details] The exception with the stack trace.