public void readFromWorkspace(WbWorkspace w, int index) {
   String prefix = getWorkspacePrefix(index);
   if (initialized) {
     readSettings(w.getSettings(), prefix);
   } else {
     workspaceProperties = new FilteredProperties(w.getSettings(), prefix);
   }
 }
 public void saveToWorkspace(WbWorkspace w, int index) {
   String prefix = getWorkspacePrefix(index);
   if (initialized) {
     storeSettings(w.getSettings(), prefix);
     findPanel.saveSettings(w.getSettings(), prefix);
   } else if (workspaceProperties != null) {
     workspaceProperties.copyTo(w.getSettings(), prefix);
   }
 }