comparison dwtx/jface/viewers/CellLabelProvider.d @ 71:4878bef4a38e

Some fixing
author Frank Benoit <benoit@tionex.de>
date Thu, 22 May 2008 04:03:58 +0200
parents 46a6e0e6ccd4
children 5df4896124c7
comparison
equal deleted inserted replaced
70:46a6e0e6ccd4 71:4878bef4a38e
22 import dwtx.jface.viewers.AbstractTreeViewer; 22 import dwtx.jface.viewers.AbstractTreeViewer;
23 import dwtx.jface.viewers.ITableLabelProvider; 23 import dwtx.jface.viewers.ITableLabelProvider;
24 import dwtx.jface.viewers.ITableColorProvider; 24 import dwtx.jface.viewers.ITableColorProvider;
25 import dwtx.jface.viewers.ITableFontProvider; 25 import dwtx.jface.viewers.ITableFontProvider;
26 import dwtx.jface.viewers.TableColumnViewerLabelProvider; 26 import dwtx.jface.viewers.TableColumnViewerLabelProvider;
27 import dwtx.jface.viewers.ViewerColumn;
27 import dwtx.jface.viewers.WrappedViewerLabelProvider; 28 import dwtx.jface.viewers.WrappedViewerLabelProvider;
28 29
29 import dwt.DWT; 30 import dwt.DWT;
30 import dwt.custom.CLabel; 31 import dwt.custom.CLabel;
31 import dwt.graphics.Color; 32 import dwt.graphics.Color;
234 * 235 *
235 * @param cell 236 * @param cell
236 * {@link ViewerCell} 237 * {@link ViewerCell}
237 */ 238 */
238 public abstract void update(ViewerCell cell); 239 public abstract void update(ViewerCell cell);
239 240
240 /** 241 /**
241 * Initialize this label provider for use with the given column viewer for 242 * Initialize this label provider for use with the given column viewer for
242 * the given column. Subclasses may extend but should call the super 243 * the given column. Subclasses may extend but should call the super
243 * implementation (which at this time is empty but may be changed in the 244 * implementation (which at this time is empty but may be changed in the
244 * future). 245 * future).
245 * 246 *
246 * @param viewer 247 * @param viewer
247 * the viewer 248 * the viewer
248 * @param column 249 * @param column
249 * the column, or <code>null</code> if a column is not 250 * the column, or <code>null</code> if a column is not
250 * available. 251 * available.
251 * 252 *
252 * @since 3.4 253 * @since 3.4
253 */ 254 */
254 protected void initialize(ColumnViewer viewer, ViewerColumn column) { 255 protected void initialize(ColumnViewer viewer, ViewerColumn column) {
255 } 256 }
256 257
257 /** 258 /**
258 * Dispose of this label provider which was used with the given column 259 * Dispose of this label provider which was used with the given column
259 * viewer and column. Subclasses may extend but should call the super 260 * viewer and column. Subclasses may extend but should call the super
260 * implementation (which calls {@link #dispose()}). 261 * implementation (which calls {@link #dispose()}).
261 * 262 *
262 * @param viewer 263 * @param viewer
263 * the viewer 264 * the viewer
264 * @param column 265 * @param column
265 * the column, or <code>null</code> if a column is not 266 * the column, or <code>null</code> if a column is not
266 * available. 267 * available.
267 * 268 *
268 * @since 3.4 269 * @since 3.4
269 */ 270 */
270 public void dispose(ColumnViewer viewer, ViewerColumn column) { 271 public void dispose(ColumnViewer viewer, ViewerColumn column) {
271 dispose(); 272 dispose();
272 } 273 }
273 274
274 } 275 }