Project

General

Profile

Revision 971fcc6d

ID971fcc6dccef0497f4c20da32aea54f92f3324ff
Parent 40268e87
Child 9933241f

Added by Patrick Plitzner over 2 years ago

Add default text for combos to DDS editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/DescriptiveDataSetEditor.java
126 126
            }
127 127
        };
128 128
        composite.getRankMin().addSelectionChangedListener(event->dirty.setDirty(true));
129
        composite.getRankMin().setText("Select min rank...");
129 130
        composite.getRankMax().addSelectionChangedListener(event->dirty.setDirty(true));
131
        composite.getRankMin().setText("Select max rank...");
130 132
        composite.getBtnRemoveRankMin().addSelectionListener(new SelectionAdapter() {
131 133
            @Override
132 134
            public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/AbstractComboComposite.java
51 51
        return null;
52 52
    }
53 53

  
54
    public void setText(String string){
55
        viewer.getCombo().setText(string);
56
    }
57

  
54 58
    public void setElement(T element){
55 59
        if(element==null){
56 60
            viewer.getCombo().deselectAll();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)