Project

General

Profile

« Previous | Next » 

Revision f5979052

Added by Katja Luther over 6 years ago

fix multiple representation by removing conversation of selection dialog

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/PrimerSelectionDialog.java
12 12

  
13 13
import org.eclipse.swt.widgets.Shell;
14 14

  
15
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
16 15
import eu.etaxonomy.cdm.api.service.molecular.IPrimerService;
17 16
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
18 17
import eu.etaxonomy.cdm.model.molecular.Primer;
......
29 28
public class PrimerSelectionDialog extends
30 29
AbstractFilteredCdmResourceSelectionDialog<Primer> {
31 30

  
32
    public static Primer select(Shell shell, ConversationHolder conversation, Primer primer){
33
        PrimerSelectionDialog dialog = new PrimerSelectionDialog(shell, conversation,
31
    public static Primer select(Shell shell, //ConversationHolder conversation,
32
            Primer primer){
33
        PrimerSelectionDialog dialog = new PrimerSelectionDialog(shell, //conversation,
34 34
                "Choose Primer", false, PrimerSelectionDialog.class.getCanonicalName(), primer);
35 35
        return getSelectionFromDialog(dialog);
36 36
    }
......
38 38
    /**
39 39
     * <p>Constructor for FilteredDerivedUnitSelectionDialog.</p>
40 40
     */
41
    protected PrimerSelectionDialog(Shell shell, ConversationHolder conversation, String title,
41
    protected PrimerSelectionDialog(Shell shell, //ConversationHolder conversation,
42
            String title,
42 43
            boolean multi, String settings, Primer cdmObject) {
43
        super(shell, conversation, title, multi, settings, cdmObject);
44
        super(shell, //conversation,
45
                title, multi, settings, cdmObject);
44 46
    }
45 47

  
46 48
    /** {@inheritDoc} */

Also available in: Unified diff