Project

General

Profile

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

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

    
15
/**
16
 * @author kluther
17
 * @date 28.11.2018
18
 *
19
 */
20
final class DistributionEditorHeaderMenuConfiguration extends AbstractHeaderMenuConfiguration {
21

    
22
    /**
23
     * @param natTable
24
     */
25
    public DistributionEditorHeaderMenuConfiguration(NatTable natTable) {
26
        super(natTable);
27

    
28
    }
29

    
30

    
31
    @Override
32
    protected PopupMenuBuilder createColumnHeaderMenu(NatTable natTable) {
33
        return super.createColumnHeaderMenu(natTable)
34
                .withHideColumnMenuItem()
35
                .withShowAllColumnsMenuItem();
36
    }
37
}
(11-11/19)