public static String AvailableVocabularyWizard_WIZARD_TITLE;
+ public static String CheckBoxTreeComposite_COLLAPSE_ALL;
+
+
+ public static String CheckBoxTreeComposite_EXPAND;
+
+
+ public static String CheckBoxTreeComposite_TOGGLE_TREE_SELECTION;
+
+
public static String ChecklistEditorGeneralPreference_3;
public static String ChecklistEditorGeneralPreference_enable;
AvailableVocabularyWizard_WINDOW_TITLE=Vocabulary Selection
AvailableVocabularyWizard_WIZARD_TITLE=Vocabulary Selection
+CheckBoxTreeComposite_COLLAPSE_ALL=Collapse all
+CheckBoxTreeComposite_EXPAND=Expand selected node
+CheckBoxTreeComposite_TOGGLE_TREE_SELECTION=Toggle selection on all children
ChecklistEditorGeneralPreference_3=eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler
ChecklistEditorGeneralPreference_enable=Enable Distribution Editor
ChecklistEditorGeneralPreference_allowOverride=Allow override
AvailableVocabularyWizard_WINDOW_TITLE=Vokabular auswählen
AvailableVocabularyWizard_WIZARD_TITLE=Vokabular auswählen
+CheckBoxTreeComposite_COLLAPSE_ALL=Alles einklappen
+CheckBoxTreeComposite_EXPAND=Ausgewählten Knoten ausklappen
+CheckBoxTreeComposite_TOGGLE_TREE_SELECTION=Alle Kinder (de-)selektieren
ChecklistEditorGeneralPreference_3=eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler
ChecklistEditorGeneralPreference_enable=Verbreitungs-Editor aktivieren
ChecklistEditorGeneralPreference_allowOverride=Erlaube Überschreiben
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.swt.widgets.Widget;
+import eu.etaxonomy.taxeditor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.ImageResources;
/**
btnCollapse = new Button(toolbar, SWT.NONE);
btnCollapse.addSelectionListener(this);
btnCollapse.setImage(ImageResources.getImage(ImageResources.COLLAPSE_ALL));
- btnCollapse.setToolTipText("Collapse All");
+ btnCollapse.setToolTipText(Messages.CheckBoxTreeComposite_COLLAPSE_ALL);
btnExpand = new Button(toolbar, SWT.NONE);
btnExpand.addSelectionListener(this);
btnExpand.setImage(ImageResources.getImage(ImageResources.EXPAND));
- btnExpand.setToolTipText("Expand Selected Node");
+ btnExpand.setToolTipText(Messages.CheckBoxTreeComposite_EXPAND);
btnSelectAllChildren = new Button(toolbar, SWT.NONE);
btnSelectAllChildren.addSelectionListener(this);
btnSelectAllChildren.setImage(ImageResources.getImage(ImageResources.HIERARCHICAL));
- btnSelectAllChildren.setToolTipText("Toggle Selection on all children");
+ btnSelectAllChildren.setToolTipText(Messages.CheckBoxTreeComposite_TOGGLE_TREE_SELECTION);
Tree tree = new Tree(composite, SWT.BORDER | SWT.CHECK);
tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));