boolean caseSensitive = false;
+ private boolean includeDescription = false;
+
boolean findAll = false;
com.stevesoft.pat.Regex regex = null;
}
}
- if (regex.search(seq.getDescription()))
+ if (isIncludeDescription() && regex.search(seq.getDescription()))
{
idMatch.addElement(seq);
hasResults = true;
{
this.seqIndex = seqIndex;
}
+
+ public boolean isIncludeDescription()
+ {
+ return includeDescription;
+ }
+
+ public void setIncludeDescription(boolean includeDescription)
+ {
+ this.includeDescription = includeDescription;
+ }
}