1
|
/**
|
2
|
* Copyright (C) 2019 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.taxeditor.preference;
|
10
|
|
11
|
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
|
12
|
import eu.etaxonomy.cdm.model.term.TermType;
|
13
|
import eu.etaxonomy.taxeditor.preference.wizard.GeneralVocabularyPreferencePage;
|
14
|
|
15
|
/**
|
16
|
* @author k.luther
|
17
|
* @since 12.09.2019
|
18
|
*/
|
19
|
public class NamedAreaVocabularyPreferencePage extends GeneralVocabularyPreferencePage {
|
20
|
|
21
|
public NamedAreaVocabularyPreferencePage(){
|
22
|
isAdminPreference = false;
|
23
|
setPredicate(PreferencePredicate.AvailableDistributionAreaVocabularies);
|
24
|
type = TermType.NamedArea;
|
25
|
|
26
|
}
|
27
|
|
28
|
|
29
|
|
30
|
|
31
|
// @Override
|
32
|
// protected void performDefaults() {
|
33
|
// if (!isAdminPreference){
|
34
|
// if (!pref.isAllowOverride()) {
|
35
|
// button_openSelectAreaVocabularies.setButtonEnabled(false);
|
36
|
// }
|
37
|
//
|
38
|
// }
|
39
|
//
|
40
|
// prefAreaVoc = null;
|
41
|
// refresh();
|
42
|
// setApply(true);
|
43
|
//
|
44
|
// }
|
45
|
|
46
|
|
47
|
|
48
|
|
49
|
|
50
|
}
|