on Mar 4th, 2010Error 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.
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.




looks cool
Thank you! This is exactly what I need.