Revision c786c70d
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/matching/AbstractMatchingPreferences.java | ||
---|---|---|
23 | 23 |
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy; |
24 | 24 |
import eu.etaxonomy.cdm.strategy.match.MatchException; |
25 | 25 |
import eu.etaxonomy.cdm.strategy.match.MatchMode; |
26 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
27 | 26 |
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4; |
28 | 27 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
29 | 28 |
|
... | ... | |
53 | 52 |
*/ |
54 | 53 |
@Override |
55 | 54 |
protected void createFieldEditors() { |
56 |
if(!CdmStore.isActive()) { |
|
57 |
MessagingUtils.noDataSourceWarningDialog(null); |
|
58 |
}else{ |
|
55 |
if(CdmStore.isActive()) { |
|
59 | 56 |
for(String fieldName : getFieldNames()){ |
60 | 57 |
String[][] comboValues = new String[getMatchModeList().size()][2]; |
61 | 58 |
for (int i=0;i<getMatchModeList().size();i++) { |
Also available in: Unified diff
ref #7268 Avoid multiple warnings for preferences while not connected