fix #8963: selection dialogs should be modal
authorKatja Luther <k.luther@bgbm.org>
Mon, 20 Apr 2020 16:10:47 +0000 (18:10 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 20 Apr 2020 16:10:47 +0000 (18:10 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java

index d8eac4535528b2e16aa291e16593cf07569eeedf..fca1b81d8f9671713d32b5a13c3efa9aaf8eb2fc 100644 (file)
@@ -62,12 +62,9 @@ import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
  * @author n.hoffmann
  * @created 04.06.2009
  */
-public abstract class AbstractFilteredCdmResourceSelectionDialog<T extends ICdmBase> extends
-               SearchDialog<T> {//implements IConversationEnabled {
+public abstract class AbstractFilteredCdmResourceSelectionDialog<T extends ICdmBase> extends SearchDialog<T> {
 
-//     private final ConversationHolder conversation = null;
-
-       protected List<UuidAndTitleCache<T>> model;
+    protected List<UuidAndTitleCache<T>> model;
        private final Set<T> transientCdmObjects = new HashSet<>();
        private final String settings;
        protected final Integer limitOfInitialElements = null;
@@ -79,8 +76,8 @@ public abstract class AbstractFilteredCdmResourceSelectionDialog<T extends ICdmB
        protected AbstractFilteredCdmResourceSelectionDialog(Shell shell, //ConversationHolder conversation,
                String title, boolean multi, String settings, Set<T> objectsToBeFiltered) {
            super(shell, title);
-        setShellStyle(SWT.DIALOG_TRIM);
-        setMessage(Messages.SearchDialog_patternLabel);
+
+           setMessage(Messages.SearchDialog_patternLabel);
         this.settings = settings;
         if (objectsToBeFiltered != null){
             this.cdmBaseToBeFiltered = new HashSet<>();