| 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 } |
| |
| } |