blob: 88a1011f9dfc6d58bdfa79dd3e3dbdbd777d5bbc [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Original authors and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Original authors and others - initial API and implementation
******************************************************************************/
package org.eclipse.nebula.widgets.nattable.core.layer.cell;
import org.eclipse.nebula.widgets.nattable.core.config.IConfigRegistry;
import org.eclipse.nebula.widgets.nattable.core.layer.LabelStack;
/**
* Resolves the configuration/config label(s) which are tied to a given cell.<br/>
* Various attributes can be registered in the {@link IConfigRegistry} against this</br>
* label</br>
*/
public interface IConfigLabelAccumulator {
/**
* Add labels applicable to this cell position
* @param configLabels the labels currently applied to the cell. The labels contributed by this
* provider must be <i>added</i> to this stack
* @param columnPosition of the cell for which labels are being gathered
* @param rowPosition of the cell for which labels are being gathered
*/
public void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition);
}