Project

General

Profile

Revision 8734b84a

ID8734b84abfd81ef25708f4d2c9838301c53d886a
Parent ece5c710
Child 1c557afc

Added by Patrick Plitzner almost 3 years ago

ref #7580 Remove duplicate UpdateCommandHandler

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrix.java
45 45
import org.eclipse.nebula.widgets.nattable.copy.command.InternalPasteDataCommandHandler;
46 46
import org.eclipse.nebula.widgets.nattable.data.IDataProvider;
47 47
import org.eclipse.nebula.widgets.nattable.data.ListDataProvider;
48
import org.eclipse.nebula.widgets.nattable.edit.command.UpdateDataCommandHandler;
49 48
import org.eclipse.nebula.widgets.nattable.export.command.ExportCommandHandler;
50 49
import org.eclipse.nebula.widgets.nattable.extension.e4.selection.E4SelectionListener;
51 50
import org.eclipse.nebula.widgets.nattable.extension.glazedlists.GlazedListsEventLayer;
......
188 187

  
189 188
    private boolean isShowTooltips = true;
190 189

  
191
    private DataLayer bodyDataLayer;
192

  
193 190
    public CharacterMatrix(Composite parent, CharacterMatrixPart part) {
194 191
        super(parent, SWT.NONE);
195 192
        this.part = part;
......
357 354
         *
358 355

  
359 356
         */
360
        bodyDataLayer = new DataLayer(bodyDataProvider);
357
        DataLayer bodyDataLayer = new DataLayer(bodyDataProvider);
361 358

  
362 359
        //register labels
363 360
        CharacterMatrixConfigLabelAccumulator labelAccumulator = new CharacterMatrixConfigLabelAccumulator(this);
......
472 469
                new InternalPasteDataCommandHandler(bodyLayer.getSelectionLayer(), natTable.getInternalCellClipboard()));
473 470
        natTable.registerCommandHandler(
474 471
                new InternalCopyDataCommandHandler(bodyLayer.getSelectionLayer(), natTable.getInternalCellClipboard()));
475
        natTable.registerCommandHandler(new UpdateDataCommandHandler(bodyDataLayer));
476 472
    }
477 473

  
478 474
    private void configureNatTable(boolean treeView,

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)