3 * Copyright (C) 2018 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.editor
.descriptiveDataSet
.matrix
;
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
;
21 final class CharacterMatrixHeaderMenuConfiguration
extends AbstractHeaderMenuConfiguration
{
23 public CharacterMatrixHeaderMenuConfiguration(NatTable natTable
) {
28 protected PopupMenuBuilder
createColumnHeaderMenu(NatTable natTable
) {
29 return super.createColumnHeaderMenu(natTable
)
30 .withHideColumnMenuItem()
31 .withShowAllColumnsMenuItem();