Project

General

Profile

Download (1.01 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2018 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.editor.descriptiveDataSet.matrix;
11

    
12
import org.eclipse.nebula.widgets.nattable.NatTable;
13
import org.eclipse.nebula.widgets.nattable.ui.menu.AbstractHeaderMenuConfiguration;
14
import org.eclipse.nebula.widgets.nattable.ui.menu.PopupMenuBuilder;
15

    
16
/**
17
 * @author pplitzner
18
 * @date 09.07.2018
19
 *
20
 */
21
final class CharacterMatrixHeaderMenuConfiguration extends AbstractHeaderMenuConfiguration {
22

    
23
    public CharacterMatrixHeaderMenuConfiguration(NatTable natTable) {
24
        super(natTable);
25
    }
26

    
27
    @Override
28
    protected PopupMenuBuilder createColumnHeaderMenu(NatTable natTable) {
29
        return super.createColumnHeaderMenu(natTable)
30
                .withHideColumnMenuItem()
31
                .withShowAllColumnsMenuItem();
32
    }
33
}
(9-9/20)