@@ -0,0 +1,1955 @@
+package org.corpus_tools.atomic.grideditor.layers;%0A%0Aimport org.corpus_tools.atomic.grideditor.configuration.GridEditorEditBindings;%0Aimport org.eclipse.nebula.widgets.nattable.grid.layer.GridLayer;%0Aimport org.eclipse.nebula.widgets.nattable.grid.layer.config.DefaultGridLayerConfiguration;%0Aimport org.eclipse.nebula.widgets.nattable.layer.CompositeLayer;%0Aimport org.eclipse.nebula.widgets.nattable.layer.ILayer;%0A%0A/**%0A * A customized %7B@link GridLayer%7D.%0A *%0A * @author Stephan Druskat %3C%5Bmail@sdruskat.net%5D(mailto:mail@sdruskat.net)%3E%0A * %0A */%0Apublic class CustomGridLayer extends GridLayer %7B%0A%0A%09/**%0A%09 * Constructor that passes %60false%60 to the respective constructor, %0A%09 * %7B@link GridLayer#GridLayer(ILayer, ILayer, ILayer, ILayer, boolean)%7D.%0A%09 * %0A%09 * @param bodyLayer%0A%09 * @param columnHeaderLayer%0A%09 * @param rowHeaderLayer%0A%09 * @param cornerLayer%0A%09 */%0A%09public CustomGridLayer(ILayer bodyLayer, ILayer columnHeaderLayer, ILayer rowHeaderLayer, ILayer cornerLayer) %7B%0A%09%09super(bodyLayer, columnHeaderLayer, rowHeaderLayer, cornerLayer, false);%0A%09%7D%0A%09%0A%09@Override%0A    protected void init(boolean useDefaultConfiguration) %7B%0A        super.init(false);%0A        addConfiguration(new CustomGridLayerConfiguration(this));    %7D%0A%0A%09/**%0A%09 * A customized %7B@link DefaultGridLayerConfiguration%7D.%0A%09 *%0A%09 * @author Stephan Druskat %3C%5Bmail@sdruskat.net%5D(mailto:mail@sdruskat.net)%3E%0A%09 * %0A%09 */%0A%09public class CustomGridLayerConfiguration extends DefaultGridLayerConfiguration %7B%0A%0A%09%09/**%0A%09%09 * Constructor simply calling the super constructor%0A%09%09 * %7B@link DefaultGridLayerConfiguration#DefaultGridLayerConfiguration(CompositeLayer)%7D.%0A%09%09 * %0A%09%09 * @param gridLayer%0A%09%09 */%0A%09%09public CustomGridLayerConfiguration(CompositeLayer gridLayer) %7B%0A%09%09%09super(gridLayer);%0A%09%09%7D%0A%09%09%0A%09%09/**%0A%09%09 * Adds a custom configuration for edit bindings%0A%09%09 * instead of using the default one.%0A%09%09 */%0A%09%09@Override%0A        protected void addEditingUIConfig() %7B%0A            addConfiguration(new GridEditorEditBindings());%0A        %7D%0A%0A%09%7D%0A%0A%7D%0A

Add custom GridLayer