Version 2 (modified by 5 years ago) (diff) | ,
---|
This is the summary page of all changes we had to do while switching from NatTable version 0.9 to 1.4.0
org.grits.toolbox plugin
- product files: removed org.eclipse.nebula.widgets.nattable and added required dependencies by clicking "Add Required Plugins"
org.grits.toolbox.display.control.table plugin
- org.grits.toolbox.display.control.table.tablecore.GRITSNatTableStyleConfiguration - CellConfigAttributes.EXPORT_FORMATTER is moved to ExportConfigAttributes.EXPORT_FORMATTER in version 1.4.0
- org.grits.toolbox.display.control.table.datamodel.GRITSSortModel - needs to implement method public Comparator<?> getColumnComparator(int columnIndex)
- org.grits.toolbox.display.control.table.datamodel.GRITSTable
- method viewportLayer.moveColumnPositionIntoViewport(i, false); method signature has changed, need to remove the boolean arg. --> viewportLayer.moveColumnPositionIntoViewport(i);
- similarly, method viewportLayer.moveCellPositionIntoViewport(0, 0, true); method signature has changed, need to remove the boolean arg. --> viewportLayer.moveCellPositionIntoViewport(0, 0_);
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core and ca.odell.glazedlists
org.grits.toolbox.entry.ms plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core and org.eclipse.nebula.widgets.grid
- deprecated method is replaced
- org.grits.toolbox.entry.ms.dialog.MassSpecPeakIntensityGrid - removeAll is deprecated, use disposeAllItems instead
- the same are done in org.grits.toolbox.entry.ms.preference.MassSpecCustomAnnotationsPreferenceUI and org.grits.toolbox.entry.ms.preference.MassSpecStandardQuantPreferenceUI
- org.grits.toolbox.entry.ms.tablehelpers.MassSpecTable - the method signature for this.columnHideShowLayer.showColumnIndexes(iIndices) has changed to use a Collection instead of an integer array.
org.grits.toolbox.entry.ms.annotation plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core, ca.odell.glazedlists and org.eclipse.nebula.widgets.grid
- org.grits.toolbox.entry.ms.annotation.tablehelpers.ExtCheckBoxPainter - added gc.setForeground(GUIHelper.COLOR_BLACK); to line 58 so that the header text in the summary page is not grayed out
org.grits.toolbox.datamodel.ms.annotation.glycan.report plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core
org.grits.toolbox.entry.ms.annotation.glycan plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core and org.eclipse.nebula.widgets.grid
- The problem of clicking header cartoon in the summary page have been fixed with the addition of the following method to get sort configuration.
@Override protected IConfiguration getSingleClickConfiguration() { sortConfiguration = new GRITSSingleClickConfiguration(getGRITSTableDataObject().getTableHeader().size() > 1) { @Override public void configureRegistry(IConfigRegistry configRegistry) { super.configureRegistry(configRegistry); for(int i = 0; i < getGRITSTableDataObject().getLastHeader().size(); i++ ) { GRITSColumnHeader header = getGRITSTableDataObject().getLastHeader().get(i); if( header.getLabel().endsWith(".png") ) { GlycanImageObject image = MSGlycanAnnotationTableDataObject.glycanImageProvider.getImage(header.getKeyValue()); Object ob = configRegistry.getSpecificConfigAttribute(CellConfigAttributes.CELL_PAINTER, DisplayMode.NORMAL, SORT_DOWN_CONFIG_TYPE); if ( ob != null ) { configRegistry.unregisterConfigAttribute(CellConfigAttributes.CELL_PAINTER, DisplayMode.NORMAL, SORT_DOWN_CONFIG_TYPE); configRegistry.unregisterConfigAttribute(CellConfigAttributes.CELL_PAINTER, DisplayMode.NORMAL, SORT_UP_CONFIG_TYPE); } AutoResizeImagePainter imgPainter = new AutoResizeImagePainter(image, true, 5, true); configRegistry.registerConfigAttribute(CellConfigAttributes.CELL_PAINTER, imgPainter, DisplayMode.NORMAL, header.getLabel()); } } } }; return sortConfiguration; }
org.grits.toolbox.entry.ms.annotation.glycan.report plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core and org.eclipse.nebula.widgets.grid
org.grits.toolbox.importer.ms.annotation.glycan.simiansearch plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.grid
- deprecated method is replaced
- org.grits.toolbox.importer.ms.annotation.glycan.simiansearch.wizard.AddAdductsForm - removeAll is deprecated, use disposeAllItems instead
- org.grits.toolbox.importer.ms.annotation.glycan.simiansearch.wizard.AddIonExchangeForm - removeAll is deprecated, use disposeAllItems instead
- org.grits.toolbox.importer.ms.annotation.glycan.simiansearch.wizard.AddNeutralLossForm- removeAll is deprecated, use disposeAllItems instead
org.grits.toolbox.tools.databasebot plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable
org.grits.toolbox.tools.gsl plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core
uk.ac.imperial.glycosciences.glycanarray plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core and ca.odell.glazedlists
org.grits.toolbox.entry.qrtpcr plugin
- dependencies have been changed to remove org.eclipse.nebula.widgets.nattable and to add org.eclipse.nebula.widgets.nattable.core, org.eclipse.nebula.widgets.nattable.extension.glazedlists and ca.odell.glazedlists
- org.grits.toolbox.entry.qrtpcr.table.QrtPCRNatTable - treeModel.isCollapseable(i) is replaced with treeModel.isCollapsible(i)