private static Map<String, Integer> tempUserPrefs = new HashMap<String, Integer>();
- private static final String PDB_FTS_CACHE_KEY = "PDB_FTS_CACHE_KEY";
+ private static final String PDB_FTS_CACHE_KEY = "CACHE.PDB_FTS";
public PDBFTSPanel(SequenceFetcher seqFetcher)
{
this.seqFetcher = seqFetcher;
this.progressIndicator = (seqFetcher == null) ? null : seqFetcher
.getProgressIndicator();
- fireCache();
}
@Override
public void searchAction(boolean isFreshSearch)
{
+ mainFrame.requestFocusInWindow();
if (isFreshSearch)
{
offSet = 0;
refreshPaginatorState();
updateSummaryTableSelections();
}
- fireCache();
+ txt_search.updateCache();
}
}.start();
}
return tempUserPrefs;
}
+
@Override
public String getCacheKey()
{
return PDB_FTS_CACHE_KEY;
}
+
}