Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326071 - The initialization of the Triggers is done in the loader
Summary: The initialization of the Triggers is done in the loader
Status: CLOSED FIXED
Alias: None
Product: XWT
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 11:19 EDT by Yves YANG CLA
Modified: 2013-01-24 15:31 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.