getText
public java.lang.String getText(java.lang.Object obj,
java.lang.Long key,
java.lang.String cachedValue)
Optional method available to make other checks during loading or otherwise change the cached value. If this method
returns null, populateCachedValues will be called one more time to attempt to resolve a possibly new object. If
null is returned, then empty string will be stored in preComputedValueMap for successive calls. This will handle
cases where a parent in the table expands to show an object that was not in the original objects sent to
populateCachedValues OR a new element is added to the viewer.
- Specified by:
getText
in interface IXViewerPreComputedColumn
key
- returned from getKey call
cachedValue
- that will be used if this method isn't overridden or returns null
- Returns:
- string to display