added .cvsignore for bin directory
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / TreeNode.java
index 7552995..e3bf412 100644 (file)
@@ -5,7 +5,7 @@ import java.sql.SQLException;
 import java.util.Iterator;
 import java.util.Vector;
 
-import com.quantum.QuantumPlugin;
+import com.quantum.ImageStore;
 import com.quantum.model.Bookmark;
 import com.quantum.model.BookmarkHolder;
 import com.quantum.model.NotConnectedException;
@@ -47,7 +47,7 @@ public abstract class TreeNode
         * @return an Image object to appear in the view, null if not found
         */
     public Image getImage() {
-       return QuantumPlugin.getImage(getImageName());
+       return ImageStore.getImage(getImageName());
     }
 
     /**
@@ -61,7 +61,7 @@ public abstract class TreeNode
      */
     public int compareTo(Object object) {
         TreeNode that = (TreeNode) object;
-        return this.getLabelName().compareTo(that.getLabelName());
+        return this.getLabelName().toLowerCase().compareTo(that.getLabelName().toLowerCase());
     }
     
     public String toString() {