Revision bb9378b6
Added by Andreas Müller over 5 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/search/SearchBar.java | ||
---|---|---|
213 | 213 |
} |
214 | 214 |
|
215 | 215 |
|
216 |
IFindTaxaAndNamesConfigurator<?> configurator = configurationListener.getConfigurator();
|
|
216 |
IFindTaxaAndNamesConfigurator configurator = configurationListener.getConfigurator(); |
|
217 | 217 |
configurator.setTitleSearchString(searchString); |
218 | 218 |
openSearchResultsView(configurator); |
219 | 219 |
|
... | ... | |
232 | 232 |
* |
233 | 233 |
* @param searchResult |
234 | 234 |
*/ |
235 |
private void openSearchResultsView(IFindTaxaAndNamesConfigurator<?> configurator) {
|
|
235 |
private void openSearchResultsView(IFindTaxaAndNamesConfigurator configurator) { |
|
236 | 236 |
boolean openResultInSeparateWindows = PreferencesUtil.getPreferenceStore().getBoolean((IPreferenceKeys.SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS)); |
237 | 237 |
String partId = AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_NAVIGATION_SEARCH_E4_SEARCHRESULTVIEWE4; |
238 | 238 |
|
... | ... | |
321 | 321 |
*/ |
322 | 322 |
class ConfigurationSelectionListener extends SelectionAdapter { |
323 | 323 |
|
324 |
private IFindTaxaAndNamesConfigurator<?> configurator = PreferencesUtil.getSearchConfigurator();
|
|
324 |
private IFindTaxaAndNamesConfigurator configurator = PreferencesUtil.getSearchConfigurator(); |
|
325 | 325 |
|
326 | 326 |
@Override |
327 | 327 |
public void widgetSelected(SelectionEvent e) { |
... | ... | |
345 | 345 |
saveConfigurator(); |
346 | 346 |
} |
347 | 347 |
|
348 |
public IFindTaxaAndNamesConfigurator<?> getConfigurator() {
|
|
348 |
public IFindTaxaAndNamesConfigurator getConfigurator() { |
|
349 | 349 |
return configurator; |
350 | 350 |
} |
351 | 351 |
|
Also available in: Unified diff
fix compile error