Project

General

Profile

« Previous | Next » 

Revision c31186f9

Added by Patrick Plitzner over 5 years ago

ref #7575 Remove toggle button

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixToolbar.java
62 62

  
63 63
    private void init() {
64 64
        setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
65
        setLayout(new GridLayout(11, false));
65
        setLayout(new GridLayout(10, false));
66 66

  
67 67
        wsLabel = new Label(this, SWT.NONE);
68 68

  
69
        Button btnToggleExactQuantValue = new Button(this, SWT.TOGGLE);
70 69
        Button btnToggleTooltips = new Button(this, SWT.TOGGLE);
71 70
        Button btnToggleTree = new Button(this, SWT.PUSH);
72 71
        Button btnToggleFlat = new Button(this, SWT.PUSH);
......
77 76
        Button btnManageState = new Button(this, SWT.PUSH);
78 77
        Button btnExcelExport = new Button(this, SWT.PUSH);
79 78

  
80
        /**
81
         * Toggle exact quantitative value
82
         */
83
        initButton(
84
                btnToggleExactQuantValue,
85
                null,
86
                "Show exact values",
87
                "Exact/Aggregate",
88
                true,
89
                true,
90
                (e)->matrix.toogleExactQuantitativeValue()
91
                );
92 79
        /**
93 80
         * Toggle tooltips button
94 81
         */

Also available in: Unified diff