Revision 0c7f7de7
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/e4/OpenDistributionEditorWizardHandlerE4.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.cdm.model.metadata.CdmPreference; |
19 | 19 |
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate; |
20 |
import eu.etaxonomy.taxeditor.l10n.Messages; |
|
20 | 21 |
import eu.etaxonomy.taxeditor.preference.wizard.AvailableVocabularyWizard; |
21 | 22 |
|
22 | 23 |
/** |
... | ... | |
27 | 28 |
*/ |
28 | 29 |
public class OpenDistributionEditorWizardHandlerE4 { |
29 | 30 |
|
30 |
String commandID = "eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"; |
|
31 |
String commandID = "eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"; //$NON-NLS-1$
|
|
31 | 32 |
|
32 | 33 |
@Execute |
33 | 34 |
public void execute(@Named(IServiceConstants.ACTIVE_SHELL)Shell shell) { |
34 | 35 |
CdmPreference pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.AvailableDistributionAreaVocabularies, null); |
35 |
AvailableVocabularyWizard wizard = new AvailableVocabularyWizard(true, pref, "Distribution");
|
|
36 |
AvailableVocabularyWizard wizard = new AvailableVocabularyWizard(true, pref, Messages.OpenDistributionEditorWizardHandlerE4_DISTRIBUTION);
|
|
36 | 37 |
|
37 | 38 |
WizardDialog dialog = new WizardDialog(shell, |
38 | 39 |
wizard); |
Also available in: Unified diff
ref #4611 i18n for admin preferences