Eclipse Yoxos Services Downloads Blogs About
Home > Blogs >

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.

row marker 1 Error marker for SWT table rows   easy as pie

row marker 2 Error marker for SWT table rows   easy as pie

Share and Enjoy:

  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie
  • services sprite Error marker for SWT table rows   easy as pie

2 Responses to “Error marker for SWT table rows – easy as pie”

  1. Benno says:

    Thank you! This is exactly what I need.

Leave a Reply

© EclipseSource 2008 - 2011