TDAT: private SearchPatternData getPatternData() { | |
SearchPatternData match = findInPrevious(xpathCombo.getText()); | |
if (match != null) { | |
fPreviousSearchPatterns.remove(match); | |
} | |
match = new SearchPatternData(getXPath(), getXPathProcessorId(), | |
fFileTypeEditor.getFileTypes(), getContainer() | |
.getSelectedScope(), getContainer() | |
.getSelectedWorkingSets()); | |
fPreviousSearchPatterns.add(0, match); | |
return match; | |
} | |
COM: <s> return search pattern data and update previous searches </s> | |