Added a ProblemsLabelDecorator for the Navigator tree view.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / properties / ColumnPropertyPage.java
index 21d37f9..2a0bf10 100644 (file)
@@ -2,8 +2,8 @@ package com.quantum.properties;
 
 import java.sql.SQLException;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.Column;
 import com.quantum.model.Entity;
 import com.quantum.model.NotConnectedException;
@@ -56,8 +56,8 @@ public class ColumnPropertyPage extends BaseEntityPropertyPage {
                        public Image getColumnImage(Object element, int columnIndex) {
                                if (columnIndex == 0 && element instanceof Column) {
                                        return ((Column) element).isPrimaryKey() 
-                                                       ? QuantumPlugin.getImage("keycolumn.gif") 
-                                                       : QuantumPlugin.getImage("column.gif");
+                                                       ? ImageStore.getImage(ImageStore.KEYCOLUMN) 
+                                                       : ImageStore.getImage(ImageStore.COLUMN);
                                } else {
                                        return null;
                                }