bugfix 1330522: <?xml flagged as error
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / properties / BaseEntityPropertyPage.java
index c6f3b00..9e80375 100644 (file)
@@ -1,7 +1,7 @@
 package com.quantum.properties;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.Entity;
 import com.quantum.model.EntityHolder;
 
@@ -63,7 +63,7 @@ public abstract class BaseEntityPropertyPage extends PropertyPage {
        protected void createErrorMessage(Composite composite, Exception e) {
                Label icon = new Label(composite, SWT.NONE);
                icon.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING));
-               icon.setImage(QuantumPlugin.getImage("warning.gif"));
+               icon.setImage(ImageStore.getImage(ImageStore.WARNING));
                
                Label error = new Label(composite, SWT.NONE);
                error.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING));