Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326071

Summary: The initialization of the Triggers is done in the loader
Product: [Technology] XWT Reporter: Yves YANG <yves.yang>
Component: CoreAssignee: Project Inbox <e4.xwt-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Yves YANG CLA 2010-09-23 11:19:02 EDT
When the triggers are setup, XWT needs to initialize the event handling, which is done in ResourceLoader.postCreation(). This solution has a limitation, the initialization can be done only via the loader. There is not way to initialize it via API. For example, if we have a Widget created by programming language, it is not possible to attach the triggers. 

The generic solution is to define a delegated property: TriggersProperty, which handle the initialization in the method setValue().
Comment 1 Yves YANG CLA 2010-09-23 11:24:27 EDT
The correction is committed in HEAD 20100923.