Project

General

Profile

« Previous | Next » 

Revision d12e0f5d

Added by Patrick Plitzner almost 6 years ago

ref #7575 Enable quantitative dialog cell editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/quantitative/QuantitativeDataDialogComposite.java
78 78
        textFields.add(text);
79 79

  
80 80
        Button btnNewButton_2 = new Button(composite_2, SWT.NONE);
81
        btnNewButton_2.setImage(ImageResources.getImage(ImageResources.ACTIVE_DELETE_ICON));
81
        btnNewButton_2.setImage(ImageResources.getImage(ImageResources.TRASH_ICON));
82 82
        btnNewButton_2.addSelectionListener(new SelectionAdapter() {
83 83
            @Override
84 84
            public void widgetSelected(SelectionEvent e) {
85 85
                text.setText("");
86
                textFields.remove(text);
87
                ((GridData)composite_2.getLayoutData()).exclude = true;
88
                valuesComposite.layout();
89 86
            }
90 87
        });
91 88
        return text;

Also available in: Unified diff