Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356322 - RidgetContainerAnnotationProcessor does not 'respect' overridden event processing methods (e.g. @OnSelectionChanged)
Summary: RidgetContainerAnnotationProcessor does not 'respect' overridden event proces...
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Stefan Liebig CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 09:11 EDT by Stefan Liebig CLA
Modified: 2011-09-02 03:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Liebig CLA 2011-08-31 09:11:12 EDT
The RCAP processes all annotations within a ridget container and within its super classes. In this hierarchy it can be that a event method (annotated with the same annotation) may be overridden. Currently this results in multiple generated listeners for the same event. Which results in calling multiple times the same overridden event handling method. But this method should only be called once.
Comment 1 Stefan Liebig CLA 2011-09-02 03:05:21 EDT
The solution (introducing a guard) required to break the existing API of:
- IRidgetContainerAnnotationHandler
- RidgetContainerAnnotationProcessor

However, it is very unlikely that those changes affect client code.