Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/RightsSelectionDialog.java | ||
---|---|---|
14 | 14 |
import org.eclipse.swt.widgets.Shell; |
15 | 15 |
import org.eclipse.swt.widgets.Text; |
16 | 16 |
|
17 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
18 | 17 |
import eu.etaxonomy.cdm.api.service.IRightsService; |
19 | 18 |
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper; |
20 | 19 |
import eu.etaxonomy.cdm.model.media.Rights; |
... | ... | |
30 | 29 |
public class RightsSelectionDialog extends AbstractFilteredCdmResourceSelectionDialog<Rights> { |
31 | 30 |
|
32 | 31 |
|
33 |
public static Rights select(Shell shell, ConversationHolder conversation, Rights rights){ |
|
34 |
RightsSelectionDialog dialog = new RightsSelectionDialog(shell, conversation, |
|
32 |
public static Rights select(Shell shell, //ConversationHolder conversation, |
|
33 |
Rights rights){ |
|
34 |
RightsSelectionDialog dialog = new RightsSelectionDialog(shell, //conversation, |
|
35 | 35 |
"Choose Rights", false, RightsSelectionDialog.class.getCanonicalName(), rights); |
36 | 36 |
return getSelectionFromDialog(dialog); |
37 | 37 |
} |
... | ... | |
39 | 39 |
/** |
40 | 40 |
* <p>Constructor for FilteredDerivedUnitSelectionDialog.</p> |
41 | 41 |
*/ |
42 |
protected RightsSelectionDialog(Shell shell, ConversationHolder conversation, String title, |
|
42 |
protected RightsSelectionDialog(Shell shell, //ConversationHolder conversation, |
|
43 |
String title, |
|
43 | 44 |
boolean multi, String settings, Rights rights) { |
44 |
super(shell, conversation, title, multi, settings, rights); |
|
45 |
super(shell, //conversation, |
|
46 |
title, multi, settings, rights); |
|
45 | 47 |
} |
46 | 48 |
|
47 | 49 |
/** |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog