You might want to change the colors and fonts of a cell or a row to draw attention to the work items that match a certain condition. WorkSpace provides a Java interface that you can implement to achieve this.
Each of the methods of this interface receives a parameter of the type fuego.papi.InstanceInfo, that contains information about the work item. You can obtain work item information from this object, and based on it render the rows, cells or external variables values.
For information on how to compile and register this class, see Changing the Appearance of Work Item Panel Based on the Work Item Information.
For a reference of the WorkListDecorator interface, see Interface WorkListDecorator Reference.
To change the style of a cell you must implement the method getCellStyle of the interface WorkListDecorator.
To change the style of a row you must implement the method getRowStyle of the interface WorkListDecorator.
These two methods return a String containing a CSS inline style. This style is used to render the corresponding cell or row.
The interface WorkListDecorator provides a method that returns the HTML used to render the value of a variable.
Being able to change the HTML allows you not only to use an icon to display the value of the external variables, but you could also add the HTML code to add a button that looks up the content of the variable in a search engine.
To change the HTML used to render the value of a variable, you must implement the method getValue of the interface WorkListDecorator.