Changes for variablemodificatin
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / SchemaSelectionControl.java
index f18c3b9..4a7fa72 100644 (file)
@@ -12,8 +12,8 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.Bookmark;
 import com.quantum.model.ConnectionException;
 import com.quantum.model.NotConnectedException;
@@ -65,7 +65,7 @@ public class SchemaSelectionControl extends Composite {
 
         public Image getColumnImage(Object element, int columnIndex) {
             if (columnIndex == 0) {
-                return QuantumPlugin.getImage("schema.gif");
+                return ImageStore.getImage(ImageStore.SCHEMA);
             } else {
                 return null;
             }
@@ -254,7 +254,7 @@ public class SchemaSelectionControl extends Composite {
                 SimpleSelectionDialog dialog = new SimpleSelectionDialog(
                                getShell(), Messages.getString(getClass(), "addSchemaDialog"), 
                                                schemaList.toArray(), 
-                                               QuantumPlugin.getImage("schema.gif"), true);
+                                               ImageStore.getImage(ImageStore.SCHEMA), true);
                 int result = dialog.open();
                 if (result == SimpleSelectionDialog.OK 
                                && !dialog.getSelection().isEmpty()) {