Revision 2e385b93
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableDistributionWizard.java | ||
---|---|---|
16 | 16 |
import org.apache.commons.lang.StringUtils; |
17 | 17 |
import org.eclipse.jface.wizard.Wizard; |
18 | 18 |
|
19 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
20 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
|
21 | 19 |
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate; |
22 | 20 |
import eu.etaxonomy.cdm.persistence.dto.TermDto; |
23 | 21 |
import eu.etaxonomy.cdm.persistence.dto.TermVocabularyDto; |
24 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
|
25 | 22 |
import eu.etaxonomy.taxeditor.l10n.Messages; |
26 | 23 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
27 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
|
28 | 24 |
|
29 | 25 |
/** |
30 | 26 |
* @author alex |
31 | 27 |
* @date 21.07.2014 |
32 | 28 |
* |
33 | 29 |
*/ |
34 |
public class AvailableDistributionWizard extends Wizard implements IConversationEnabled {
|
|
30 |
public class AvailableDistributionWizard extends Wizard { |
|
35 | 31 |
|
36 |
private ConversationHolder conversation; |
|
32 |
// private ConversationHolder conversation;
|
|
37 | 33 |
private final AvailableDistributionPage aPage; |
38 | 34 |
|
39 | 35 |
public AvailableDistributionWizard() { |
... | ... | |
99 | 95 |
return false; |
100 | 96 |
} |
101 | 97 |
} |
102 |
|
|
103 |
@Override |
|
104 |
public ConversationHolder getConversationHolder() { |
|
105 |
if (conversation == null) { |
|
106 |
conversation = CdmStore.createConversation(); |
|
107 |
} |
|
108 |
return conversation; |
|
109 |
} |
|
110 |
|
|
111 |
@Override |
|
112 |
public void update(CdmDataChangeMap changeEvents) { |
|
113 |
} |
|
98 |
// |
|
99 |
// @Override
|
|
100 |
// public ConversationHolder getConversationHolder() {
|
|
101 |
// if (conversation == null) {
|
|
102 |
// conversation = CdmStore.createConversation();
|
|
103 |
// }
|
|
104 |
// return conversation;
|
|
105 |
// }
|
|
106 |
// |
|
107 |
// @Override
|
|
108 |
// public void update(CdmDataChangeMap changeEvents) {
|
|
109 |
// }
|
|
114 | 110 |
} |
Also available in: Unified diff
ref #7854: session handling in distribution editor