merging from sf to nebula release w glazedlists [message #1010816] |
Mon, 18 February 2013 09:37 |
Ludwig Moser Messages: 476 Registered: July 2009 |
Senior Member |
|
|
i try to merge my code from
net.sourceforge.nattable.core-2.3.1.jar
net.sourceforge.nattable.extension.glazedlists-2.3.1.jar
to
org.eclipse.nebula.widgets.nattable.core-0.9.0.jar
org.eclipse.nebula.widgets.nattable.extension.glazedlists-0.9.0.jar
actually i thought there is not much of a change, as 2.3.11 was only a bugfix release, and the move to 0.9.0 was namespace and adding features.
fact is there was also a change in the glazedlists (whole packages are gone now - ca.odell.glazedlists)
my code is based on these classes, so what do i need to do to get it working again?
do you have tutorials how to merge?
my current table is pretty complex, as i got sorting, filtering, styling, and dynamic datatype handling included in my project. (about 20+ classes for the table...)
note:
FilterList, SortedList, ObservableElementList, TransformedList, EventList, BasicEventList<E>, FunctionList
all this is marked as red and unknown.
btw... replacing the LayerCell to ILayerCell did not work for me
/**
* If a cell belongs to a column group: column position - set to the start
* position of the group span - set to the width/size of the column group<br>
* NOTE: gc.setClip() is used in the CompositeLayerPainter to ensure that
* partially visible Column group header cells are rendered properly.
* */
@Override
public ILayerCell getCellByPosition(int columnPosition, int rowPosition) {
int bodyColumnIndex = getColumnIndexByPosition(columnPosition);
// Column group header cell
if (columnGroupModel.isPartOfAGroup(bodyColumnIndex)) {
return super.getCellByPosition(columnPosition, rowPosition);
} else { // render column header w/ rowspan = 2
ILayerCell cell = columnHeaderLayer.getCellByPosition(
columnPosition, getGroupHeaderRowPostion());
// RED - function 'getGroupHeaderRowPostion()' does not
if (cell != null) {
cell.updateLayer(this);// RED - function does not
cell.updateRowSpan(1);// RED - function does not exist
}
return cell;
}
}
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03690 seconds