package org.simantics.browsing.ui.nattable; import org.eclipse.nebula.widgets.nattable.data.IColumnPropertyAccessor; import org.simantics.browsing.ui.Column; import org.simantics.browsing.ui.content.Labeler.Modifier; public class GEColumnAccessor implements IColumnPropertyAccessor { NatTableGraphExplorer ge; public GEColumnAccessor(NatTableGraphExplorer ge) { this.ge = ge; } @Override public int getColumnCount() { return ge.getColumns().length; } @Override public Object getDataValue(TreeNode rowObject, int columnIndex) { if (columnIndex > 0) return rowObject.getValueString(columnIndex); else { String val = ""; for (int i = 0 ; i