Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338661 - @OnActionCallback cannot be used in super classes or non public methods
Summary: @OnActionCallback cannot be used in super classes or non public methods
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.0.M6   Edit
Assignee: Stefan Liebig CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 335691
  Show dependency tree
 
Reported: 2011-03-02 08:20 EST by Christian Campo CLA
Modified: 2011-05-03 10:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Campo CLA 2011-03-02 08:20:57 EST
In the current (new) implementation of @OnActionCallback its not possible to have the method for the annotation to be protected. Its also not possible to define the annotation for a class that is in a superclass that is then subclassed by others.
Comment 1 Christian Campo CLA 2011-03-02 08:23:56 EST
also when using the @OnActionCallback method on protected methods (and that should really work) a silly error message comes up "ArrayIndexOutOfBounds" instead of a hint to the real problem
Comment 2 Stefan Liebig CLA 2011-03-03 02:36:22 EST
Event methods will now be made accessible if they are not and also the super classes will be scanned for annotations.