Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package de.xwic.etlgine.server.admin.datapool;
 

Author(s):
Developer
	/* (non-Javadoc)
	 * @see de.jwic.ecolib.tableviewer.ITableLabelProvider#getCellLabel(java.lang.Object, de.jwic.ecolib.tableviewer.TableColumn, de.jwic.ecolib.tableviewer.RowContext)
	 */
	public CellLabel getCellLabel(Object rowTableColumn columnRowContext rowContext) {
		CellLabel cell = new CellLabel();
		if ("key".equals(column.getUserObject())) {
			cell.text = elm.getKey();
else if ("title".equals(column.getUserObject())) {
			cell.text = elm.getTitle();
else if ("weight".equals(column.getUserObject())) {
			cell.text = Double.toString(elm.getWeight());
		}
		return cell;
	}
New to GrepCode? Check out our FAQ X