use of org.eclipse.nebula.widgets.nattable.fillhandle.command.FillHandlePasteCommandHandler in project nebula.widgets.nattable by eclipse.
the class FillHandleConfiguration method configureTypedLayer.
@Override
public void configureTypedLayer(NatTable natTable) {
// initialization works here because configureLayer() is executed before
// configureUiBindings()
this.clipboard = natTable.getInternalCellClipboard();
this.painter = new FillHandleLayerPainter();
this.selectionLayer.setLayerPainter(this.painter);
this.selectionLayer.addLayerListener(new FillHandleMarkupListener(this.selectionLayer));
this.selectionLayer.registerCommandHandler(new InternalCopyDataCommandHandler(this.selectionLayer, this.clipboard));
this.selectionLayer.registerCommandHandler(new FillHandlePasteCommandHandler(this.selectionLayer, this.clipboard));
}
Aggregations