Add predefined Velocity and CSS templates if wiki builder is assigned to a project
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / JDBCDriverTableViewer.java
index c80e75e..63014c0 100644 (file)
@@ -7,6 +7,12 @@ import java.util.Collections;
 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;
@@ -23,12 +29,6 @@ import org.eclipse.swt.widgets.Control;
 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
@@ -38,7 +38,7 @@ public class JDBCDriverTableViewer implements PropertyChangeListener, ISelection
        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;
                        }
@@ -60,7 +60,7 @@ public class JDBCDriverTableViewer implements PropertyChangeListener, ISelection
                                result = ((JDBCDriver) element).getVersion();
                                break;
                        case 4: 
-                               result = ((JDBCDriver) element).getJarFileName();
+                               result = ((JDBCDriver) element).getJarFilePath();
                                break;
                        default:
                        }