improved syntax highlighting (php tag/return keyword/brackets and operators)
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / SchemaNode.java
index 6b44cda..4b6f3c3 100644 (file)
@@ -69,7 +69,11 @@ public class SchemaNode extends TreeNode implements SchemaHolder {
      * @see com.quantum.view.bookmark.TreeNode#getImageName()
      */
     protected String getImageName() {
-        return this.schema.isDefault() ? "user.gif" : "schema.gif";
+        return this.schema.isDefault() 
+                       ? "user.gif" 
+                       :  this.schema.exists() 
+                               ? "schema.gif" 
+                               : "missingschema.gif";
     }
 
     /**