Error marker for SWT table rows - easy as pie

March 4, 2010 | 1 min Read

Here’s a nice addition to Riena’s TableRidget: you can now mark a table-row as incorrect.

This is done with an RowErrorMessageMarker. When hovering over the marked row, the corresponding error message will be shown in a tooltip.

java IMarker marker = new RowErrorMessageMarker("An error message...", zorro); tableRidget.addMarker(marker); // to remove: tableRidget.removeMarker(marker);

Full snippet here. This is shipping with the upcoming Riena 2.0 M6.