added file extension php5
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / properties / ReferencesPropertyPage.java
index 75edc3b..630af95 100644 (file)
@@ -5,8 +5,8 @@ import java.sql.SQLException;
 import java.util.ArrayList;
 import java.util.List;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.Entity;
 import com.quantum.model.ForeignKey;
 import com.quantum.model.NotConnectedException;
@@ -111,13 +111,13 @@ public class ReferencesPropertyPage extends BaseEntityPropertyPage {
                        public Image getColumnImage(Object element, int columnIndex) {
                                if ((columnIndex == 1 || columnIndex == 2) 
                                                && element instanceof ColumnDetailsAdaptor) {
-                                       return QuantumPlugin.getImage("column.gif");
+                                       return ImageStore.getImage(ImageStore.COLUMN);
                                } else if ((columnIndex == 1 || columnIndex == 2) 
                                                && element instanceof TableDetailsAdaptor) {
-                                       return QuantumPlugin.getImage("bigtable.gif");
+                                       return ImageStore.getImage(ImageStore.TABLE);
                                } else if ((columnIndex == 0) 
                                                && element instanceof TableDetailsAdaptor) {
-                                       return QuantumPlugin.getImage("foreignkey.gif");
+                                       return ImageStore.getImage(ImageStore.FOREIGNKEY);
                                } else {
                                        return null;
                                }