Revision 7a4464c0
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java | ||
---|---|---|
22 | 22 |
import org.apache.commons.lang.StringUtils; |
23 | 23 |
import org.eclipse.core.runtime.IProgressMonitor; |
24 | 24 |
import org.eclipse.core.runtime.IStatus; |
25 |
import org.eclipse.core.runtime.jobs.Job; |
|
25 | 26 |
import org.eclipse.jface.dialogs.IDialogConstants; |
26 | 27 |
import org.eclipse.jface.dialogs.IDialogSettings; |
27 | 28 |
import org.eclipse.jface.viewers.ILabelProvider; |
... | ... | |
70 | 71 |
protected List<UuidAndTitleCache<T>> model; |
71 | 72 |
private final Set<T> transientCdmObjects = new HashSet<T>(); |
72 | 73 |
private final String settings; |
73 |
protected final int limitOfInitialElements = 100;
|
|
74 |
protected final Integer limitOfInitialElements = null;
|
|
74 | 75 |
|
75 | 76 |
private T selectedObject; |
76 | 77 |
|
77 | 78 |
protected Set<UUID> cdmBaseToBeFiltered; |
78 | 79 |
|
80 |
protected Job searchJob; |
|
81 |
|
|
79 | 82 |
|
80 | 83 |
/** |
81 | 84 |
* <p>Constructor for AbstractFilteredCdmResourceSelectionDialog.</p> |
... | ... | |
569 | 572 |
if (control != null){ |
570 | 573 |
pattern = ((Text)control).getText(); |
571 | 574 |
if (pattern.equals("*") || pattern.equals("?")){ |
572 |
callService(null);
|
|
575 |
callService("*");
|
|
573 | 576 |
}else if (StringUtils.isNotBlank(pattern)){ |
574 | 577 |
callService(pattern); |
575 | 578 |
} |
Also available in: Unified diff
remove limit for selection dialogs