@Override
    public int compare(SISView arg0, SISView arg1) {
      String t1 = arg0.getDisplayableTitle();
      String t2 = arg1.getDisplayableTitle();

      if (t1 == null) t1 = "";
      if (t2 == null) t2 = "";

      return comparator.compare(t1, t2);
    }
 private void resetSchema(String schema) {
   currentViewMap = schemaToViews.get(schema);
   if (currentView != null) currentView.resetCurPage();
   currentView = null;
   currentSchema = schema;
 }
 public boolean needPageChange(String viewID, int pageNum, boolean viewOnly) {
   if (currentView == null || !currentView.getId().equals(viewID)) return true;
   else return currentViewMap.get(viewID).needPageChange(pageNum, viewOnly);
 }