import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
public String getText(Object element) {
Row row = (Row) element;
try {
return row.getValue(columnName).getString();
} catch (RepositoryException e) {
public String getText(Object element) {
Row row = (Row) element;
try {
return row.getValue(columnName).getString();
} catch (RepositoryException e) {
/** Implements comparator for various types of Artifact Table row */
private class CurrentTableComparator extends GenericTableComparator {
/** Implements comparator for various types of Artifact Table row */
private class CurrentTableComparator extends GenericTableComparator {
public CurrentTableComparator(int colIndex, int direction) {
super(colIndex, direction);
public CurrentTableComparator(int colIndex, int direction) {
super(colIndex, direction);
// If descending order, flip the direction
if (direction == DESCENDING) {
rc = -rc;
// If descending order, flip the direction
if (direction == DESCENDING) {
rc = -rc;