Revision a3895d57
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/CheckBoxTreeComposite.java | ||
---|---|---|
26 | 26 |
import org.eclipse.swt.widgets.TreeItem; |
27 | 27 |
import org.eclipse.swt.widgets.Widget; |
28 | 28 |
|
29 |
import eu.etaxonomy.taxeditor.l10n.Messages; |
|
29 | 30 |
import eu.etaxonomy.taxeditor.model.ImageResources; |
30 | 31 |
|
31 | 32 |
/** |
... | ... | |
57 | 58 |
btnCollapse = new Button(toolbar, SWT.NONE); |
58 | 59 |
btnCollapse.addSelectionListener(this); |
59 | 60 |
btnCollapse.setImage(ImageResources.getImage(ImageResources.COLLAPSE_ALL)); |
60 |
btnCollapse.setToolTipText("Collapse All");
|
|
61 |
btnCollapse.setToolTipText(Messages.CheckBoxTreeComposite_COLLAPSE_ALL);
|
|
61 | 62 |
|
62 | 63 |
btnExpand = new Button(toolbar, SWT.NONE); |
63 | 64 |
btnExpand.addSelectionListener(this); |
64 | 65 |
btnExpand.setImage(ImageResources.getImage(ImageResources.EXPAND)); |
65 |
btnExpand.setToolTipText("Expand Selected Node");
|
|
66 |
btnExpand.setToolTipText(Messages.CheckBoxTreeComposite_EXPAND);
|
|
66 | 67 |
|
67 | 68 |
btnSelectAllChildren = new Button(toolbar, SWT.NONE); |
68 | 69 |
btnSelectAllChildren.addSelectionListener(this); |
69 | 70 |
btnSelectAllChildren.setImage(ImageResources.getImage(ImageResources.HIERARCHICAL)); |
70 |
btnSelectAllChildren.setToolTipText("Toggle Selection on all children");
|
|
71 |
btnSelectAllChildren.setToolTipText(Messages.CheckBoxTreeComposite_TOGGLE_TREE_SELECTION);
|
|
71 | 72 |
|
72 | 73 |
Tree tree = new Tree(composite, SWT.BORDER | SWT.CHECK); |
73 | 74 |
tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); |
Also available in: Unified diff
ref #7912 i18n