}
- IFindTaxaAndNamesConfigurator<?> configurator = configurationListener.getConfigurator();
+ IFindTaxaAndNamesConfigurator configurator = configurationListener.getConfigurator();
configurator.setTitleSearchString(searchString);
openSearchResultsView(configurator);
*
* @param searchResult
*/
- private void openSearchResultsView(IFindTaxaAndNamesConfigurator<?> configurator) {
+ private void openSearchResultsView(IFindTaxaAndNamesConfigurator configurator) {
boolean openResultInSeparateWindows = PreferencesUtil.getPreferenceStore().getBoolean((IPreferenceKeys.SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS));
String partId = AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_NAVIGATION_SEARCH_E4_SEARCHRESULTVIEWE4;
*/
class ConfigurationSelectionListener extends SelectionAdapter {
- private IFindTaxaAndNamesConfigurator<?> configurator = PreferencesUtil.getSearchConfigurator();
+ private IFindTaxaAndNamesConfigurator configurator = PreferencesUtil.getSearchConfigurator();
@Override
public void widgetSelected(SelectionEvent e) {
saveConfigurator();
}
- public IFindTaxaAndNamesConfigurator<?> getConfigurator() {
+ public IFindTaxaAndNamesConfigurator getConfigurator() {
return configurator;
}
*
* @param result a {@link java.util.List} object.
*/
- protected void displaySearchResult(List<UuidAndTitleCache<IdentifiableEntity>> result) {
+ protected void displaySearchResult(List<UuidAndTitleCache<? extends IdentifiableEntity>> result) {
if(result.size() > 0){
resultViewer.setInput(result);
status.setText(String.format(Messages.SearchResultView_CNT_ENTITIES_FOUND, result.size()));
monitor.beginTask("", 100); //$NON-NLS-1$
monitor.worked(20);
- final List<UuidAndTitleCache<IdentifiableEntity>> searchResult = CdmStore.getSearchManager().findTaxaAndNames(configurator);
+ List<UuidAndTitleCache<? extends IdentifiableEntity>> searchResult = CdmStore.getSearchManager().findTaxaAndNames(configurator);
monitor.worked(40);
if(! monitor.isCanceled()){