NomenclaturalCodePreferences_description=Configure the default settings for the nomenclatural code, this is used for new created taxa.
NameDetailsViewConfiguration_description=Configure the simple name details view. The selected parts are displayed, others are not visible in a simple name details view.
+NameRelationshipWizardPage_description=Choose namerelationship type and related name
DateDetail_parseText_tooltip=This field is for quick data entry. The content is parsed and the atomised fields will be filled, the content of this field will not be saved.
NomenclaturalCodePreferences_available_codes=Verfügbare Codes
NomenclaturalCodePreferences_description=Konfiguration des verwendeten Nomenklatorischen Codes beim Erstellen eines neuen Taxons
+NameRelationshipWizardPage_description=Auswahl des Relationstyps und des in Beziehung stehenden Namens
+
NameDetailsViewConfiguration_description=Konfiguration eines vereinfachten Namensdetailsviews. \nDie ausgewählten Parts werden angezeigt, die anderen sind nicht sichtbar.
DateDetail_parseText_tooltip=Dieses Feld ist für die schnelle Dateneingabe. Der Inhalt des Feldes wird geparsed und in die atomisierten Felder geschrieben. Der Inhalt des Feldes selber wird nicht gespeichert.
import java.util.Comparator;
import java.util.List;
+import org.eclipse.jface.resource.FontDescriptor;
import org.eclipse.jface.util.PropertyChangeEvent;
+import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import eu.etaxonomy.cdm.model.common.TermType;
terms = getTermManager().getPreferredTerms(TermType.NameRelationshipType);
this.useAbbrevLabel = useAbbrevLabel;
populateTerms();
+ label.setText(labelString);
+ FontDescriptor descriptor = FontDescriptor.createFrom(label.getFont());
+ // setStyle method returns a new font descriptor for the given style
+ descriptor = descriptor.setStyle(SWT.ITALIC);
+ label.setFont(descriptor.createFont(label.getDisplay()));
combo.addSelectionListener(this);
combo.addDisposeListener(this);
import eu.etaxonomy.cdm.model.name.NameRelationship;
import eu.etaxonomy.cdm.model.name.NameRelationshipType;
import eu.etaxonomy.cdm.model.name.TaxonName;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.ui.AbstractEntityCollectionElementWizardPage;
import eu.etaxonomy.taxeditor.ui.combo.NameRelationshipTypeCombo;
import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
*/
protected NameRelationshipWizardPage(
NameRelationshipDetailSection callingSection) {
- super("NameRelationshipWizardPage");
- setTitle("New Name Relationship");
- setDescription(callingSection.getEntity().getTitleCache());
+ super("NameRelationshipWizardPage"); //$NON-NLS-1$
+ setTitle("New Name Relationship"); //$NON-NLS-1$
+ //setDescription(callingSection.getEntity().getTitleCache());
+ setDescription(Messages.NameRelationshipWizardPage_description);
this.entity = callingSection.getEntity();
this.formFactory = callingSection.getFormFactory();
super.createControl(parent);
combo_relationshipType = formFactory.createNameRelationshipTypeCombo(rootElement,
- "Type", SWT.NULL, false,null);
+ entity.getNameCache(), SWT.NULL, false,null);
selection_relatedTo = formFactory
.createSelectionElement(TaxonName.class,
((NameRelationshipWizard) getWizard())
.getConversationHolder(), rootElement,
- "Related to",this.entity, EntitySelectionElement.ALL,
+ "",this.entity, EntitySelectionElement.ALL,
SWT.NULL, true);
}