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

Bug 345385

Summary: Custom cell renderer components - allow fallback method name to be specified manually
Product: [Technology] Jubula Reporter: Jens <beruf>
Component: RCAssignee: Project Inbox <jubula.rc-inbox>
Status: CLOSED DUPLICATE QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: enhancement    
Priority: P3 CC: markus.tiede
Version: 0.9.0   
Target Milestone: 1.0   
Hardware: All   
OS: All   
Whiteboard:

Description Jens CLA 2011-05-11 05:32:06 EDT
For a more generic support of custom cell renderer components the global constants RENDERER_FALLBACK_TEXT_GETTER_METHOD_1 and RENDERER_FALLBACK_TEXT_GETTER_METHOD_2 used in the class AbstractSwingImplClass to get the rendered text from a custom cell renderer component through reflection should be definable externally, e.g. by setting a specific environment variable / java property.

This would allow a less invasive support for renderers which already have an own method for text retrieval, because for the current approach (by implementing the two previous mentioned static methods) a re-compile of the renderer class is necessary.

Additionally a setting per class, e.g. by setting method a for renderer class A and method b for renderer class B, would improve this new mechanism.
Comment 1 Markus Tiede CLA 2011-12-21 10:44:34 EST
We will allow such flexible extensions in future by adding custom adapter classes.

*** This bug has been marked as a duplicate of bug 351926 ***