Error marker for SWT table rows – easy as pie

Error marker for SWT table rows – easy as pie

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.

[code lang=”java”]
IMarker marker = new RowErrorMessageMarker(“An error message…”, zorro);
tableRidget.addMarker(marker);
// to remove:
tableRidget.removeMarker(marker);
[/code]

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