Deprecated API


Contents
Deprecated Classes
org.eclipse.nebula.widgets.nattable.edit.ActiveCellEditorRegistry
          Storing the editor in a global registry has certain drawbacks as outlined in the documentation and the bug report. In order to resolve that the active editor is now an instance field of the table. The methods provided in here to register or retrieve the editor are available on the table itself. Therefore this registry is obsolete and should not be used any more. 
org.eclipse.nebula.widgets.nattable.ui.matcher.BodyCellEditorMouseEventMatcher
           
org.eclipse.nebula.widgets.nattable.group.config.ColumnGroupMenuItemProviders
          Use MenuItemProviders or the PopupMenuBuilder directly 
org.eclipse.nebula.widgets.nattable.selection.RowSelectionPreserver
          Use SelectionLayer.setSelectionModel(new RowSelectionModel(...)) instead 
org.eclipse.nebula.widgets.nattable.selection.event.SelectionLayerStructuralChangeEventHandler
          ISelectionModel is now itself a ILayerEventHandler 
 

Deprecated Methods
org.eclipse.nebula.widgets.nattable.tree.TreeRowModel.clear()
          Since this is not specified by the ITreeRowModel interface, this method shouldn't be used directly and therefore be removed. 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.collapse(int)
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.collapse(T)
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.collapseAll()
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.edit.command.EditUtils.commitAndCloseActiveEditor()
          Has been replaced by NatTable.commitAndCloseActiveCellEditor(). The active editor is now managed by the table itself. Therefore the static helpers to access the editor should not be used any more. 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.expand(int)
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.expand(T)
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.expandAll()
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.tree.ITreeData.formatDataForDepth(int, int)
          formatting of data should be done by the exporter or a display converter 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.formatDataForDepth(int, int)
           
org.eclipse.nebula.widgets.nattable.tree.ITreeData.formatDataForDepth(int, T)
          formatting of data should be done by the exporter or a display converter 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.formatDataForDepth(int, T)
           
org.eclipse.nebula.widgets.nattable.edit.ActiveCellEditorRegistry.getActiveCellEditor()
          replaced by NatTable.getActiveCellEditor(). 
org.eclipse.nebula.widgets.nattable.util.GUIHelper.getImage(ImageData)
          This method does not work correctly since it uses Object.toString() 
org.eclipse.nebula.widgets.nattable.tree.TreeLayer.getIndentedTreeImagePainter()
          since 1.1 the configured TreeImagePainter should be used instead of the hard referenced one 
org.eclipse.nebula.widgets.nattable.tree.ITreeRowModel.getObjectAtIndexAndDepth(int, int)
          formatting should be done in the IExportFormatter 
org.eclipse.nebula.widgets.nattable.tree.AbstractTreeRowModel.getObjectAtIndexAndDepth(int, int)
           
org.eclipse.nebula.widgets.nattable.tree.TreeLayer.getTreeImagePainter()
          since 1.1 the configured TreeImagePainter should be used instead of the hard referenced one 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.isExpanded(int)
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.tree.GlazedListTreeData.isExpanded(T)
          expand/collapse operations should be performed on ITreeRowModel! 
org.eclipse.nebula.widgets.nattable.edit.ActiveCellEditorRegistry.registerActiveCellEditor(ICellEditor)
          replaced by firing the CellEditorCreatedEvent 
org.eclipse.nebula.widgets.nattable.painter.cell.decorator.CellPainterDecorator.setBaseCellPainterSpansWholeCell(boolean)
          use setPaintDecorationDependent() instead, note that the semantic is different 
org.eclipse.nebula.widgets.nattable.selection.event.SelectionLayerStructuralChangeEventHandler.setSelectionModel(ISelectionModel)
          This handler doesn't make use of the ISelectionModel anymore, therefore setting another ISelectionModel will have no effect 
org.eclipse.nebula.widgets.nattable.extension.glazedlists.groupBy.GroupByDataLayer.setSortModel(ISortModel)
          use GroupByDataLayer.initializeTreeComparator(ISortModel, IUniqueIndexLayer, boolean) 
org.eclipse.nebula.widgets.nattable.edit.ActiveCellEditorRegistry.unregisterActiveCellEditor()
          The explicit unregistering is not needed any more. The instance will automatically be set to null if the editor gets disposed. 
 

Deprecated Constructors
org.eclipse.nebula.widgets.nattable.group.painter.ColumnGroupHeaderTextPainter(ColumnGroupModel)
          Use constructor without ColumnGroupModel reference 
org.eclipse.nebula.widgets.nattable.group.painter.ColumnGroupHeaderTextPainter(ColumnGroupModel, ICellPainter)
          Use constructor without ColumnGroupModel reference 
org.eclipse.nebula.widgets.nattable.group.painter.ColumnGroupHeaderTextPainter(ColumnGroupModel, ICellPainter, boolean, boolean)
          Use constructor without ColumnGroupModel reference 
org.eclipse.nebula.widgets.nattable.group.painter.ColumnGroupHeaderTextPainter(ColumnGroupModel, ICellPainter, CellEdgeEnum)
          Use constructor without ColumnGroupModel reference 
org.eclipse.nebula.widgets.nattable.group.painter.ColumnGroupHeaderTextPainter(ColumnGroupModel, ICellPainter, CellEdgeEnum, boolean, int, boolean)
          Use constructor without ColumnGroupModel reference 
org.eclipse.nebula.widgets.nattable.group.config.DefaultRowGroupHeaderLayerConfiguration(IRowGroupModel)
          use constructor without IRowGroupModel as it is not needed anymore 
org.eclipse.nebula.widgets.nattable.tree.painter.IndentedTreeImagePainter(ITreeRowModel)
          Use constructor without ITreeRowModel parameter 
org.eclipse.nebula.widgets.nattable.tree.painter.IndentedTreeImagePainter(ITreeRowModel, int)
          Use constructor without ITreeRowModel parameter 
org.eclipse.nebula.widgets.nattable.tree.painter.IndentedTreeImagePainter(ITreeRowModel, int, TreeImagePainter)
          Use constructor without ITreeRowModel parameter 
org.eclipse.nebula.widgets.nattable.group.painter.RowGroupHeaderTextPainter(IRowGroupModel)
          Use constructor without IRowGroupModel reference 
org.eclipse.nebula.widgets.nattable.group.painter.RowGroupHeaderTextPainter(IRowGroupModel, ICellPainter)
          Use constructor without IRowGroupModel reference 
org.eclipse.nebula.widgets.nattable.selection.SelectionLayer(IUniqueIndexLayer, ISelectionModel, boolean, boolean)
          the ISelectionModel is now itself an ILayerEventHandler 
org.eclipse.nebula.widgets.nattable.selection.event.SelectionLayerStructuralChangeEventHandler(SelectionLayer, ISelectionModel)
          This handler doesn't make use of the ISelectionModel anymore, therefore setting another ISelectionModel will have no effect 
org.eclipse.nebula.widgets.nattable.tree.painter.TreeImagePainter(ITreeRowModel)
          Use constructor without ITreeRowModel parameter 
org.eclipse.nebula.widgets.nattable.tree.painter.TreeImagePainter(ITreeRowModel, Image, Image, Image)
          Use constructor without ITreeRowModel parameter 
 



Copyright © 2015. All rights reserved.