Revision cb827f5e
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/TermChooseWizardPage.java | ||
---|---|---|
12 | 12 |
import java.util.ArrayList; |
13 | 13 |
import java.util.List; |
14 | 14 |
|
15 |
import javax.inject.Inject; |
|
16 |
|
|
17 |
import org.eclipse.e4.core.di.annotations.Optional; |
|
18 |
import org.eclipse.e4.ui.di.UIEventTopic; |
|
15 | 19 |
import org.eclipse.jface.wizard.WizardPage; |
16 | 20 |
import org.eclipse.swt.SWT; |
17 | 21 |
import org.eclipse.swt.widgets.Composite; |
18 | 22 |
|
19 | 23 |
import eu.etaxonomy.cdm.persistence.dto.AbstractTermDto; |
20 | 24 |
import eu.etaxonomy.cdm.persistence.dto.TermDto; |
25 |
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants; |
|
21 | 26 |
import eu.etaxonomy.taxeditor.view.search.facet.SearchComposite; |
22 | 27 |
import eu.etaxonomy.taxeditor.view.search.facet.term.TermSearchController; |
23 | 28 |
|
... | ... | |
52 | 57 |
return termDtos; |
53 | 58 |
} |
54 | 59 |
|
60 |
@Inject |
|
61 |
@Optional |
|
62 |
private void updateCheck(@UIEventTopic(WorkbenchEventConstants.UPDATE_MOVE_TERM_SELECTION)TermDto dto){ |
|
63 |
controller.getSearchResultComposites().stream().forEach(comp -> comp.getBtnCheck().setSelection(false)); |
|
64 |
} |
|
65 |
|
|
55 | 66 |
} |
Also available in: Unified diff
ref #8763: disable multiselect