blob: e177a0d34015df193a8f0dacb38b24866454d3a5 [file] [log] [blame]
package org.eclipse.nebula.widgets.nattable.core.layer.cell
import org.eclipse.nebula.widgets.nattable.core.geometry.PositionRectangle
import org.eclipse.nebula.widgets.nattable.core.layer.Layer
abstract class AbstractLayerCell implements LayerCell {
val Layer layer
val PositionRectangle positionBounds
new(Layer layer, int columnPosition, int rowPosition) {
this.layer = layer
this.positionBounds = new PositionRectangle(columnPosition, rowPosition, 1, 1)
}
override getLayer() { layer }
override getPositionBounds() { positionBounds }
}