wizard.name.22 = CDM light (csv)\r
wizard.name.23 = Excel Distribution Data Update\r
wizard.name.24 = RIS Reference\r
-command.label.25 = Import Preferences
\ No newline at end of file
+command.label.25 = Import Preferences
+partdescriptor.label.featureTreeEditor = Feature Tree Editor
wizard.name.22 = CDM light (csv)
wizard.name.23 = Excel Verbreitungsdaten Update
wizard.name.24 = RIS Referenzen
-command.label.25 = Import Präferenzen
\ No newline at end of file
+command.label.25 = Import Präferenzen
+partdescriptor.label.featureTreeEditor = Merkmalsbaum-Editor
\ No newline at end of file
<imports xsi:type="commands:Command" xmi:id="_LlbAMEq2EeeN-dEYnw7m3g" elementId="org.eclipse.ui.file.save"/>
<fragments xsi:type="fragment:StringModelFragment" xmi:id="_xVa1wCXXEeex9MwMOgUeWw" featurename="descriptors" parentElementId="xpath:/">
<elements xsi:type="basic:PartDescriptor" xmi:id="_2xmxoCXXEeex9MwMOgUeWw" elementId="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart" label="%view.name.SESSIONS" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"/>
- <elements xsi:type="basic:PartDescriptor" xmi:id="_J-3UEEqgEeeN-dEYnw7m3g" elementId="eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor" label="Feature Tree Editor" closeable="true" dirtyable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor">
+ <elements xsi:type="basic:PartDescriptor" xmi:id="_J-3UEEqgEeeN-dEYnw7m3g" elementId="eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor" label="%partdescriptor.label.featureTreeEditor" closeable="true" dirtyable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor">
<handlers xmi:id="_H_c_EEq2EeeN-dEYnw7m3g" elementId="eu.etaxonomy.taxeditor.featuretree.handler.SaveHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.workbench/eu.etaxonomy.taxeditor.workbench.SaveHandler" command="_LlbAMEq2EeeN-dEYnw7m3g"/>
</elements>
</fragments>
import org.eclipse.ui.menus.CommandContributionItemParameter;
import eu.etaxonomy.cdm.model.common.TermType;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
import eu.etaxonomy.taxeditor.store.CdmStore;
Collection<IContributionItem> items = new ArrayList<IContributionItem>();
if(CdmStore.isActive()){
MenuManager dtMenuManager =
- new MenuManager("Term Editor","eu.etaxonomy.taxeditor.store.definedTermEditorMenu");
+ new MenuManager(Messages.DefinedTermMenu_TERM_EDITOR,"eu.etaxonomy.taxeditor.store.definedTermEditorMenu"); //$NON-NLS-2$
dtMenuManager.setVisible(true);
dtMenuManager.add(new Separator());
MenuManager otherMenuManager =
- new MenuManager("Others","eu.etaxonomy.taxeditor.store.term.other.menu");
+ new MenuManager(Messages.DefinedTermMenu_OTHERS,"eu.etaxonomy.taxeditor.store.term.other.menu"); //$NON-NLS-2$
otherMenuManager.setVisible(true);
dtMenuManager.add(otherMenuManager);
//FIXME E4: This should be removed during e4 migration. dynamic menu should be declared in model fragment
}
// term type has children, so create sub menu
MenuManager dtMenuManager =
- new MenuManager(termType.getMessage(PreferencesUtil.getGlobalLanguage()),"eu.etaxonomy.taxeditor.store." + termType.getKey() + "Menu");
+ new MenuManager(termType.getMessage(PreferencesUtil.getGlobalLanguage()),"eu.etaxonomy.taxeditor.store." + termType.getKey() + Messages.DefinedTermMenu_MENU); //$NON-NLS-1$
dtMenuManager.setVisible(true);
dtMenuManager.add(createDefaultMenuItem(termType));
private CommandContributionItem createMenuItem(TermType termType) {
Map<String, String> params = new HashMap<String, String>();
- params.put("eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid",
+ params.put("eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid", //$NON-NLS-1$
termType.getUuid().toString());
CommandContributionItemParameter p = new CommandContributionItemParameter(
PlatformUI.getWorkbench(),
- "",
- "eu.etaxonomy.taxeditor.store.openDefinedTermEditor",
+ "", //$NON-NLS-1$
+ "eu.etaxonomy.taxeditor.store.openDefinedTermEditor", //$NON-NLS-1$
params,
null,
null,
null,
termType.getMessage(),
- "",
- "",
+ "", //$NON-NLS-1$
+ "", //$NON-NLS-1$
SWT.PUSH,
- "",
+ "", //$NON-NLS-1$
true);
CommandContributionItem item = new CommandContributionItem(p);
private CommandContributionItem createFeatureTreeMenuItem() {
Map<String, String> params = new HashMap<String, String>();
- params.put("eu.etaxonomy.taxeditor.workbench.commandparameter.partName",
- "eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor");
+ params.put("eu.etaxonomy.taxeditor.workbench.commandparameter.partName", //$NON-NLS-1$
+ "eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor"); //$NON-NLS-1$
CommandContributionItemParameter p = new CommandContributionItemParameter(
PlatformUI.getWorkbench(),
- "eu.etaxonomy.taxeditor.featuretree.commandContributionItemParameter",
- "eu.etaxonomy.taxeditor.command.openPart",
+ "eu.etaxonomy.taxeditor.featuretree.commandContributionItemParameter", //$NON-NLS-1$
+ "eu.etaxonomy.taxeditor.command.openPart", //$NON-NLS-1$
params,
null,
null,
null,
- "Feature Tree",
- "",
- "",
+ Messages.DefinedTermMenu_FEATURE_TREE,
+ "", //$NON-NLS-1$
+ "", //$NON-NLS-1$
SWT.PUSH,
- "",
+ "", //$NON-NLS-1$
true);
private CommandContributionItem createDefaultMenuItem(TermType termType) {
Map<String, String> params = new HashMap<String, String>();
- params.put("eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid",
+ params.put("eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid", //$NON-NLS-1$
termType.getUuid().toString());
CommandContributionItemParameter p = new CommandContributionItemParameter(
PlatformUI.getWorkbench(),
- "",
- "eu.etaxonomy.taxeditor.store.openDefinedTermEditor",
+ "", //$NON-NLS-1$
+ "eu.etaxonomy.taxeditor.store.openDefinedTermEditor", //$NON-NLS-1$
params,
null,
null,
null,
- "Other " + termType.getMessage() + "s",
- "",
- "",
+ String.format(Messages.DefinedTermMenu_OTHER_S, termType.getMessage()),
+ "", //$NON-NLS-1$
+ "", //$NON-NLS-1$
SWT.PUSH,
- "",
+ "", //$NON-NLS-1$
true);
import eu.etaxonomy.taxeditor.featuretree.FeatureNodeTransfer;
import eu.etaxonomy.taxeditor.featuretree.FeatureTreeContentProvider;
import eu.etaxonomy.taxeditor.featuretree.FeatureTreeLabelProvider;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.ImageResources;
/**
label_title = new Label(composite_treeTitle, SWT.NULL);
label_title.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
- label_title.setText("Feature Tree");
+ label_title.setText(Messages.FeatureTreeEditorComposite_FEATURE_TREE);
text_title = new Text(composite_treeTitle, SWT.BORDER);
text_title.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
btnOpenFeatureTree = new Button(this, SWT.NONE);
btnOpenFeatureTree.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));
- btnOpenFeatureTree.setToolTipText("Open Tree");
+ btnOpenFeatureTree.setToolTipText(Messages.FeatureTreeEditorComposite_OPEN_TREE);
btnOpenFeatureTree.setImage(ImageResources.getImage(ImageResources.BROWSE_ICON));
viewer = new TreeViewer(this);
button_add = new Button(composite_buttons, SWT.PUSH);
button_add.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));
- button_add.setToolTipText("Add a feature to this feature tree.");
+ button_add.setToolTipText(Messages.FeatureTreeEditorComposite_ADD_FEATURE);
button_add.setImage(ImageResources.getImage(ImageResources.ADD_EDIT));
button_remove = new Button(composite_buttons, SWT.PUSH);
button_remove.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));
- button_remove.setToolTipText("Remove a feature from this feature tree.");
+ button_remove.setToolTipText(Messages.FeatureTreeEditorComposite_REMOVE_FEATURE);
button_remove.setImage(ImageResources.getImage(ImageResources.TRASH_ICON));
}
public static String ConfiguratorComposite_CONFIGURE;
- public static String DetailsViewPart_VIEWER_NAME;
+ public static String DefinedTermMenu_FEATURE_TREE;
+
+
+ public static String DefinedTermMenu_MENU;
+
+
+ public static String DefinedTermMenu_OTHER_S;
+
+
+ public static String DefinedTermMenu_OTHERS;
+
+
+ public static String DefinedTermMenu_TERM_EDITOR;
+
+
+ public static String DetailsViewPart_VIEWER_NAME;
public static String EditPasswordElement_PLEASE_CREATE_OR_SAVE_USER;
public static String EditPasswordElement_USERNAME_DOES_NOT_EXIST;
public static String PasswordWizard_COULD_NOT_CHANGE_PWD;
+ public static String FeatureTreeEditorComposite_ADD_FEATURE;
+
+
+ public static String FeatureTreeEditorComposite_FEATURE_TREE;
+
+
+ public static String FeatureTreeEditorComposite_OPEN_TREE;
+
+
+ public static String FeatureTreeEditorComposite_REMOVE_FEATURE;
+
+
+
+
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
SearchManager_LONG_SEARCH_WARNING=The current search will return %s objects. This will take a long time and/or might render the editor unusable. Please consider refining your search.\nSearch anyway?
SupplementalDataViewPart_VIEWER_NAME=Supplemental Data
+DefinedTermMenu_FEATURE_TREE=Feature Tree
+DefinedTermMenu_MENU=Menu
+DefinedTermMenu_OTHER_S=Other %ss
+DefinedTermMenu_OTHERS=Others
+DefinedTermMenu_TERM_EDITOR=Term Editor
DetailsViewPart_VIEWER_NAME=Details
AuthenticatedUserBar_LOGGED_IN_AS=Logged in as: %s
ImportFromFileAndChooseVocIdWizardOage_AreaVoc_toolTip=Please choose a vocabulary for the used areas.
ExcelDistributionUpdateWizard_ConfiguratorWizard_label=Configure Excel distribution update
AbstractImportWizard_ConfigurationLabel=Configure the Import
+FeatureTreeEditorComposite_ADD_FEATURE=Add a feature to this feature tree.
+FeatureTreeEditorComposite_FEATURE_TREE=Feature Tree
+FeatureTreeEditorComposite_OPEN_TREE=Open Tree
+FeatureTreeEditorComposite_REMOVE_FEATURE=Remove a feature from this feature tree.
SearchManager_LONG_SEARCH_WARNING=Die aktuelle Suche wird %s Objekte laden. Dies kann einige Zeit dauern und den Editor währenddessen unbedienbar machen. Bitte erstellen sie eine detailliertere Suche.\nTrotzdem suchen?
SupplementalDataViewPart_VIEWER_NAME=Zusatzdaten
+DefinedTermMenu_FEATURE_TREE=Merkmalsbaum
+DefinedTermMenu_MENU=Menü
+DefinedTermMenu_OTHER_S=Weitere %ss
+DefinedTermMenu_OTHERS=Weitere
+DefinedTermMenu_TERM_EDITOR=Term-Editor
DetailsViewPart_VIEWER_NAME=Details
AuthenticatedUserBar_LOGGED_IN_AS=Angemeldet als: %s
ImportFromFileAndChooseVocIdWizardOage_AreaVoc_toolTip=Bitte wählen Sie ein Vokabular für die genutzten Areas aus.
ExcelDistributionUpdateWizard_ConfiguratorWizard_label=Konfiguration des Excel Distribution Updates
AbstractImportWizard_ConfigurationLabel=Konfiguration des Imports
+FeatureTreeEditorComposite_ADD_FEATURE=Merkmal zum Merkmalsbaum hinzufügen
+FeatureTreeEditorComposite_FEATURE_TREE=Merkmalsbaum
+FeatureTreeEditorComposite_OPEN_TREE=Merkmalsbaum öffnen
+FeatureTreeEditorComposite_REMOVE_FEATURE=Merkmal vom Merkmalsbaum entfernen