public static String TaxonNodeWizardPage_SECUNDUM_REFERENCE;
public static String TaxonNodeWizardPage_STATUS_NOTES;
public static String TaxonNodeWizardPage_CLASSIFICATION;
+ public static String TaxonNodeWizardPage_TAXON_NODE;
+ public static String TaxonNodeWizardPage_TAXON_INFORMATION;
+ public static String TaxonNodeWizardPage_TAXON_IS_PUBLISH;
public static String TaxonomicEditorGeneralPreferences_background;
public static String TaxonomicEditorGeneralPreferences_connect;
public static String DeleteConfiguration_descriptionFromDescriptiveDataSet_onlyRemove;
+ public static String EnumCombo_Placement_status;
+
+ public static String OriginalSourceAdvancedSection_advanced;
+
+
+
+
+
+
+
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
TaxonNodeWizardPage_TAXON=Taxon
TaxonNodeWizardPage_REUSE_EXISTING_TAXON=Reuse existing taxon
TaxonNodeWizardPage_REUSE_EXISTING_NAME=Reuse existing name
-TaxonNodeWizardPage_SECUNDUM_REFERENCE=Secundum Reference
+TaxonNodeWizardPage_SECUNDUM_REFERENCE=Secundum reference
TaxonNodeWizardPage_STATUS_NOTES=Status notes
TaxonNodeWizardPage_CLASSIFICATION=Classification
+TaxonNodeWizardPage_TAXON_NODE=Taxon node
+TaxonNodeWizardPage_TAXON_INFORMATION=Taxon information
+TaxonNodeWizardPage_TAXON_IS_PUBLISH=Taxon is publish
TaxonomicEditorGeneralPreferences_background=Run long running operations in background
TaxonomicEditorGeneralPreferences_connect=Connect to last used datasource when launching
TaxonRelationshipTypeMenuPreferences_configure=Configure taxon relationship types
StructuredDescriptionAggregationWizardPage_SELECT_SELECTED_TAXA_ONLY=Aggregate selected taxon/taxa only
CommonNameLanguages_Title=Common Name Languages
CommonNameVocabularyPreferencePage_description=Select the vocabularies for common name area selection.
-CommonNameLanguagePreferencePage_description=Choose the languages available for common names.
\ No newline at end of file
+CommonNameLanguagePreferencePage_description=Choose the languages available for common names.
+EnumCombo_Placement_status=Placement status
+OriginalSourceAdvancedSection_advanced=Advanced
\ No newline at end of file
TaxonNodeWizardPage_SECUNDUM_REFERENCE=Secundum Referenz
TaxonNodeWizardPage_STATUS_NOTES=Status Annmerkungen
TaxonNodeWizardPage_CLASSIFICATION=Klassifikation
+TaxonNodeWizardPage_TAXON_NODE=Taxonknoten
+TaxonNodeWizardPage_TAXON_INFORMATION=Taxon Information
+TaxonNodeWizardPage_TAXON_IS_PUBLISH=Taxon ist öffentlich
+
TaxonomicEditorGeneralPreferences_background=Long Running Operations laufen im Hintergrund
TaxonomicEditorGeneralPreferences_connect=Beim Starten mit der zuletzt verwendeten Datenquelle verbinden
TaxonRelationshipTypeMenuPreferences_configure=Auswahl der zur Verf\u00FCgung stehenden Taxonrelationstypen
StructuredDescriptionAggregationWizardPage_SELECT_SELECTED_TAXA_ONLY=Aggregiere nur ausgewählte(s) Taxa/Taxon
CommonNameLanguages_Title=Sprachen für Trivialnamen
CommonNameVocabularyPreferencePage_description=Wählen Sie die Vokabulare, für die Area-Auswahl bei Trivialnamen.
-CommonNameLanguagePreferencePage_description=Wählen Sie die für Trivialnamen verfügbaren Sprachen.
\ No newline at end of file
+CommonNameLanguagePreferencePage_description=Wählen Sie die für Trivialnamen verfügbaren Sprachen.
+
+EnumCombo_Placement_status=Platzierungsstatus
+OriginalSourceAdvancedSection_advanced=Erweitert
\ No newline at end of file
import eu.etaxonomy.cdm.model.reference.ReferenceType;
import eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus;
import eu.etaxonomy.cdm.model.term.IEnumTerm;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
import eu.etaxonomy.taxeditor.ui.element.CdmPropertyChangeEvent;
} else if(enumType.equals(NomenclaturalCodeEdition.class)) {
return "Code Edition";
}else if(enumType.equals(TaxonNodeStatus.class)) {
- return "Placement status";
+ return Messages.EnumCombo_Placement_status;
}
return "No Label";
}
TaxonNode entity, int style) {
// taxon = entity.getTaxon();
Label taxonTitle = new Label(getLayoutComposite(), SWT.NULL);
- taxonTitle.setText("Taxon Information");
+ taxonTitle.setText(Messages.TaxonNodeWizardPage_TAXON_INFORMATION);
TableWrapData tableWrap = LayoutConstants.FILL_HORIZONTALLY(2, 2);
tableWrap.valign = SWT.TOP;
taxonTitle.setLayoutData(tableWrap);
EntitySelectionElement.DELETABLE, style, 100);
checkbox_publish = formFactory.createCheckbox(formElement,
- "Taxon is published", true, style);
+ Messages.TaxonNodeWizardPage_TAXON_IS_PUBLISH, true, style);
checkbox_publish.setEnabled(isCreateNew());
Label seperator = new Label(getLayoutComposite(), SWT.HORIZONTAL | SWT.SEPARATOR);
seperator.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 3));
Label nodeTitle = new Label(getLayoutComposite(), SWT.NULL);
- nodeTitle.setText("Taxon Node");
+ nodeTitle.setText(Messages.TaxonNodeWizardPage_TAXON_NODE);
nodeTitle.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
nodeTitle.setFont(FONT_BOLD);
*/
public class ExternalLinksElement extends AbstractEntityCollectionElement<ExternalLink> implements ISelectableElement{
- private final SelectionArbitrator selectionArbitrator;
+ private SelectionArbitrator selectionArbitrator;
private UriWithLabelElement externalLinkUriText;
private EnumComboElement<ExternalLinkType> combo_linkType;
public ExternalLinksElement(CdmFormFactory formFactory, AbstractFormSection section, ExternalLink entity,
SelectionListener removeListener, int style) {
super(formFactory, section, entity, removeListener, null, style);
- selectionArbitrator = formFactory.createSelectionArbitrator(this);
+ if(formFactory.getSelectionProvider() != null){
+ selectionArbitrator = formFactory.createSelectionArbitrator(this);
+ }
+
}
@Override
import org.eclipse.jface.viewers.ISelectionProvider;
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
-import eu.etaxonomy.cdm.model.reference.OriginalSourceBase;
+import eu.etaxonomy.cdm.model.common.ReferencedEntityBase;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
* @author k.luther
* @since Jul 1, 2020
*/
-public class OriginalSourceAdvancedSection extends AbstractCdmDetailSection<OriginalSourceBase> {
+public class OriginalSourceAdvancedSection extends AbstractCdmDetailSection<ReferencedEntityBase > {
/**
* @param formFactory
}
@Override
- protected AbstractCdmDetailElement<OriginalSourceBase> createCdmDetailElement(
- AbstractCdmDetailSection<OriginalSourceBase> parentElement, int style) {
+ protected AbstractCdmDetailElement<ReferencedEntityBase > createCdmDetailElement(
+ AbstractCdmDetailSection<ReferencedEntityBase > parentElement, int style) {
return new AdvancedSourceElement(getFormFactory(), parentElement);
}
@Override
public String getHeading() {
- return "Advanced";
+ return Messages.OriginalSourceAdvancedSection_advanced;
}
}