public static String FeatureTreeEditorComposite_REMOVE_FEATURE;
+ public static String FeatureTreeSelectionDialog_CHOOSE_TREE;
+
+
+ public static String FeatureTreeSelectionDialog_ENTER_LABEL;
+
+
+ public static String FeatureTreeSelectionDialog_NEW_TREE;
+
+
+ public static String FeatureTreeSelectionDialog_TREE_LABEL;
+
+
public static String NonViralNameDetails_confirmDeleteOfZoologicalNameParts;
FeatureTreeEditorComposite_FEATURE_TREE=Feature Tree
FeatureTreeEditorComposite_OPEN_TREE=Open Tree
FeatureTreeEditorComposite_REMOVE_FEATURE=Remove a feature from this feature tree.
+FeatureTreeSelectionDialog_CHOOSE_TREE=Choose a feature tree
+FeatureTreeSelectionDialog_ENTER_LABEL=Enter label for feature tree
+FeatureTreeSelectionDialog_NEW_TREE=New Feature tree
+FeatureTreeSelectionDialog_TREE_LABEL=Feature tree label
NonViralNameDetails_confirmDeleteOfZoologicalNameParts=The publication and original publication year needs to be removed
NonViralNameDetails_descriptionDeleteZoologicalNameParts=If you click Yes, the original publication and publication year is removed and the nomenclatural code is changed.
SelectionViewMenu_4_YES=Yes
SelectionViewMenu_NO=No
-
AbcdImportPreference_create_Individual_Association=Create an Individual Association for each specimen
AbcdImportPreference_create_Individual_Association_tooltip=For each specimen associated to a taxon an individual association to this taxon is created
AbcdImportPreference_create_new_classification_new_taxa=Create new classification for new taxa
EditPasswordElement_PLEASE_CREATE_OR_SAVE_USER=Bitte erstellen oder speichern sie den Nutzer '%s', bevor Sie das Kennwort ändern
EditPasswordElement_USERNAME_DOES_NOT_EXIST=Nutzername existiert nicht
+EmptySection_NO_VIEW_IMPLEMENTED=Unbekanntes Objekt. Details können nicht angezeigt werden.
PasswordWizard_COULD_NOT_CHANGE_PWD=Konnte das Kennwort nicht ändern
PasswordWizard_OLD_PWD_INCORRECT=Das alte Kennwort ist inkorrekt
PasswordWizard_PROBLEM_WITH_CHANGING_PWD=Fehler beim Ändern des Kennworts
DefinedTermMenu_OTHER_S=Weitere %ss
DefinedTermMenu_OTHERS=Weitere
DefinedTermMenu_TERM_EDITOR=Term-Editor
+DetailsViewerE4_TAXON_HAS_NO_NAME=Taxon hat keinen Namen. Details können nicht angezeigt werden.
DetailsViewPart_VIEWER_NAME=Details
AuthenticatedUserBar_LOGGED_IN_AS=Angemeldet als: %s
FeatureTreeEditorComposite_FEATURE_TREE=Merkmalsbaum
FeatureTreeEditorComposite_OPEN_TREE=Merkmalsbaum öffnen
FeatureTreeEditorComposite_REMOVE_FEATURE=Merkmal vom Merkmalsbaum entfernen
+FeatureTreeSelectionDialog_CHOOSE_TREE=Merkmalsbaum auswählen
+FeatureTreeSelectionDialog_ENTER_LABEL=Namen für Merkmalsbaum eingeben
+FeatureTreeSelectionDialog_NEW_TREE=Neuer Merkmalsbaum
+FeatureTreeSelectionDialog_TREE_LABEL=Merkmalsbaumname
NonViralNameDetails_confirmDeleteOfZoologicalNameParts=Breed, Publication Date und Original Publication Date müssen entfernt werden.
NonViralNameDetails_descriptionDeleteZoologicalNameParts=Bestätigen Sie, wenn Sie Breed, Publication Date und Original Publication Date löschen und den Nomenklatorischen Code des Namens ändern wollen.
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
import eu.etaxonomy.cdm.model.description.FeatureTree;
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard;
import eu.etaxonomy.taxeditor.store.CdmStore;
public static FeatureTree select(Shell shell,
FeatureTree featureTree) {
FeatureTreeSelectionDialog dialog = new FeatureTreeSelectionDialog(shell,
- "Choose a feature tree", false, featureTree);
+ Messages.FeatureTreeSelectionDialog_CHOOSE_TREE, false, featureTree);
return getSelectionFromDialog(dialog);
}
model.clear();
for(FeatureTree featureTree : featureTrees){
UuidAndTitleCache<FeatureTree> element = new UuidAndTitleCache<FeatureTree>(FeatureTree.class, featureTree.getUuid(),featureTree.getId(), featureTree.getTitleCache());
- if(pattern == null || element.getTitleCache().matches("(?i)"+pattern + ".*")) {
+ if(pattern == null || element.getTitleCache().matches("(?i)"+pattern + ".*")) { //$NON-NLS-1$ //$NON-NLS-2$
model.add(element);
}
}
@Override
public void widgetSelected(SelectionEvent e) {
- InputDialog dialog = new InputDialog(getShell(), "Feature tree label", "Enter label for feature tree", null, null);
+ InputDialog dialog = new InputDialog(getShell(), Messages.FeatureTreeSelectionDialog_TREE_LABEL, Messages.FeatureTreeSelectionDialog_ENTER_LABEL, null, null);
if (dialog.open() == Window.OK) {
// User clicked OK; update the label with the input
FeatureTree tree = FeatureTree.NewInstance();
@Override
protected String[] getNewWizardText() {
- return new String[]{ "New Feature tree"};
+ return new String[]{ Messages.FeatureTreeSelectionDialog_NEW_TREE};
}
@Override