import java.util.Iterator;
import java.util.List;
+import com.quantum.model.Displayable;
+
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.viewers.ILabelProviderListener;
}
public String getColumnText(Object element, int columnIndex) {
- return element.toString();
+ if (element instanceof Displayable) {
+ return ((Displayable) element).getDisplayName();
+ } else {
+ return element.toString();
+ }
}
public void addListener(ILabelProviderListener listener) {