put connection Listener and report listener as seperate threads.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / model / Bookmark.java
index 3ee61be..4b42669 100644 (file)
@@ -29,7 +29,7 @@ import org.eclipse.jface.preference.IPreferenceStore;
  * 
  * @author root
  */
-public class Bookmark {
+public class Bookmark implements Displayable {
        
        public static final int SCHEMA_RULE_USE_ALL = 1;
        public static final int SCHEMA_RULE_USE_DEFAULT = 2;
@@ -76,6 +76,7 @@ public class Bookmark {
         setPromptForPassword(data.getPromptForPassword());
         setAutoCommit(data.isAutoCommit());
         setAutoCommitPreference(data.getAutoCommitPreference());
+        setSchemaRule(data.getSchemaRule());
         
         this.schemas.addAll(data.schemas);
         this.quickList = new Hashtable(data.quickList);
@@ -540,4 +541,8 @@ public class Bookmark {
             this.propertyChangeSupport.firePropertyChange("schemas", null, null);
         }
        }
+
+       public String getDisplayName() {
+               return this.name;
+       }
 }