Project

General

Profile

« Previous | Next » 

Revision 5893c96f

Added by Katja Luther about 4 years ago

fix #8963: selection dialogs should be modal

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java
62 62
 * @author n.hoffmann
63 63
 * @created 04.06.2009
64 64
 */
65
public abstract class AbstractFilteredCdmResourceSelectionDialog<T extends ICdmBase> extends
66
		SearchDialog<T> {//implements IConversationEnabled {
65
public abstract class AbstractFilteredCdmResourceSelectionDialog<T extends ICdmBase> extends SearchDialog<T> {
67 66

  
68
//	private final ConversationHolder conversation = null;
69

  
70
	protected List<UuidAndTitleCache<T>> model;
67
    protected List<UuidAndTitleCache<T>> model;
71 68
	private final Set<T> transientCdmObjects = new HashSet<>();
72 69
	private final String settings;
73 70
	protected final Integer limitOfInitialElements = null;
......
79 76
	protected AbstractFilteredCdmResourceSelectionDialog(Shell shell, //ConversationHolder conversation,
80 77
	        String title, boolean multi, String settings, Set<T> objectsToBeFiltered) {
81 78
	    super(shell, title);
82
        setShellStyle(SWT.DIALOG_TRIM);
83
        setMessage(Messages.SearchDialog_patternLabel);
79

  
80
	    setMessage(Messages.SearchDialog_patternLabel);
84 81
        this.settings = settings;
85 82
        if (objectsToBeFiltered != null){
86 83
            this.cdmBaseToBeFiltered = new HashSet<>();

Also available in: Unified diff