Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345385 - Custom cell renderer components - allow fallback method name to be specified manually
Summary: Custom cell renderer components - allow fallback method name to be specified ...
Status: CLOSED DUPLICATE of bug 351926
Alias: None
Product: Jubula
Classification: Technology
Component: RC (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.0   Edit
Assignee: Project Inbox CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 05:32 EDT by Jens CLA
Modified: 2011-12-21 10:44 EST (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 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 ***