import java.util.Iterator;
import java.util.List;
+import com.quantum.ImageStore;
+import com.quantum.Messages;
+import com.quantum.adapters.AdapterFactory;
+import com.quantum.model.BookmarkCollection;
+import com.quantum.model.JDBCDriver;
+
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
-import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
-import com.quantum.adapters.AdapterFactory;
-import com.quantum.model.BookmarkCollection;
-import com.quantum.model.JDBCDriver;
-
/**
* @author BC
public class LabelProviderImpl implements ITableLabelProvider {
public Image getColumnImage(Object element, int columnIndex) {
if (columnIndex == 0) {
- return QuantumPlugin.getImage("driver.gif");
+ return ImageStore.getImage(ImageStore.DRIVER);
} else {
return null;
}
result = ((JDBCDriver) element).getVersion();
break;
case 4:
- result = ((JDBCDriver) element).getJarFileName();
+ result = ((JDBCDriver) element).getJarFilePath();
break;
default:
}