Project

General

Profile

« Previous | Next » 

Revision 87abc2b1

Added by Patrick Plitzner about 6 years ago

ref #7095, #7086 i18n

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/WorkingSetComposite.java
22 22
import eu.etaxonomy.cdm.model.description.FeatureTree;
23 23
import eu.etaxonomy.cdm.model.location.NamedArea;
24 24
import eu.etaxonomy.cdm.model.name.Rank;
25
import eu.etaxonomy.taxeditor.editor.l10n.Messages;
25 26
import eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditorComposite;
26 27
import eu.etaxonomy.taxeditor.model.ImageResources;
27 28
import eu.etaxonomy.taxeditor.ui.combo.TermUuidComboViewer;
......
51 52

  
52 53
        Label lblNewLabel = new Label(this, SWT.NONE);
53 54
        lblNewLabel.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
54
        lblNewLabel.setText("Label");
55
        lblNewLabel.setText(Messages.WorkingSetComposite_LABEL);
55 56

  
56 57
        txtWorkingSet = new Text(this, SWT.BORDER);
57 58
        txtWorkingSet.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
58 59

  
59 60
        Label lblNewLabel_1 = new Label(this, SWT.NONE);
60
        lblNewLabel_1.setText("Taxon filter");
61
        lblNewLabel_1.setText(Messages.WorkingSetComposite_TAXON_FILTER);
61 62

  
62 63
        Label lblNewLabel_2 = new Label(this, SWT.NONE);
63 64
        lblNewLabel_2.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
64
        lblNewLabel_2.setText("Rank min");
65
        lblNewLabel_2.setText(Messages.WorkingSetComposite_RANK_MIN);
65 66

  
66 67
        comboRankMin = new TermUuidComboViewer(this, SWT.NONE);
67 68
        comboRankMin.setInput(TermType.Rank);
......
75 76

  
76 77
        Label lblNewLabel_3 = new Label(this, SWT.NONE);
77 78
        lblNewLabel_3.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
78
        lblNewLabel_3.setText("Rank max");
79
        lblNewLabel_3.setText(Messages.WorkingSetComposite_RANK_MAX);
79 80

  
80 81
        comboRankMax = new TermUuidComboViewer(this, SWT.NONE);
81 82
        comboRankMax.setInput(TermType.Rank);
......
83 84

  
84 85
        Label lblNewLabel_4 = new Label(this, SWT.NONE);
85 86
        lblNewLabel_4.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
86
        lblNewLabel_4.setText("Area");
87
        lblNewLabel_4.setText(Messages.WorkingSetComposite_AREA);
87 88

  
88 89
        Composite composite = new Composite(this, SWT.NONE);
89 90
        composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false, 1, 1));
......
96 97

  
97 98
        textAreaText = new Text(composite, SWT.BORDER);
98 99
        textAreaText.setEditable(false);
99
        textAreaText.setText("Choose...");
100
        textAreaText.setText(Messages.WorkingSetComposite_CHOOSE);
100 101
        textAreaText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
101 102

  
102 103
        btnChooseArea = new Button(composite, SWT.NONE);
......
156 157
    }
157 158
    public void removeArea() {
158 159
        this.area = null;
159
        textAreaText.setText("");
160
        textAreaText.setText(""); //$NON-NLS-1$
160 161
    }
161 162
    public Button getBtnChooseArea() {
162 163
        return btnChooseArea;

Also available in: Unified diff