void (String s) { super.onSearchFieldUpdated(s); if (myTempPatternsTable == null) return; int index = s.lastIndexOf('.'); if (index < 0) { s = "." + s; } myCurrentType = myTempPatternsTable.findAssociatedFileType(s); if (myCurrentType != null) { myExtension = s; } else { myExtension = null; } }