Bug 442747 - Deprecate outdated CellModifier API of ColumnViewer
Summary: Deprecate outdated CellModifier API of ColumnViewer
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Simon Scholz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 448143
Blocks:
  Show dependency tree
 
Reported: 2014-08-27 19:34 EDT by Simon Scholz CLA
Modified: 2019-09-05 04:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Scholz CLA 2014-08-27 19:34:41 EDT
In my opinion the following three methods of the ColumnViewer should be deprecated, as the JavaDoc of those methods already states that the ViewerColumn´s EditingSupport is more flexible and therefore better.

-org.eclipse.jface.viewers.ColumnViewer.setCellEditors(CellEditor[])
-org.eclipse.jface.viewers.ColumnViewer.setCellModifier(ICellModifier)
-org.eclipse.jface.viewers.ColumnViewer.setColumnProperties(String[])

When deprecating those methods, also the ICellModifier interface can be deprecated.
Comment 1 Lars Vogel CLA 2014-08-28 07:59:11 EDT
+1 for the change, please provide a Gerrit review for it.
Comment 2 Simon Scholz CLA 2014-09-23 15:02:00 EDT
See patch https://git.eclipse.org/r/#/c/33793/3

Also moved "old" cell editor EditingSupport to the DefaultColumnViewerEditingSupport class, so that there is less deprecated code in the ColumnViewers class.
Comment 3 Lars Vogel CLA 2014-09-23 15:03:41 EDT
We set a bug to Fixed once the patch is applied.
Comment 4 Lars Vogel CLA 2014-10-01 12:27:21 EDT
At the moment platform.ui, PDE (and potentially JDT) is still using the old API. If we want to deprecate this, we need to remove this usage. Simon, please create new bug reports for this adjustment and mark this bug as dependent on this changes.
Comment 5 Lars Vogel CLA 2014-10-20 17:23:16 EDT
(In reply to Lars Vogel from comment #4)
> If we want to deprecate this, we need to remove this usage. Simon,
> please create new bug reports for this adjustment and mark this bug as
> dependent on this changes.

Any update on the new bug report for the remove of the usage of the old API? We should start in platform.ui.
Comment 6 Lars Vogel CLA 2015-09-25 12:38:02 EDT
(In reply to Lars Vogel from comment #5)
> Any update on the new bug report for the remove of the usage of the old API?
> We should start in platform.ui.

Ping?
Comment 7 Lars Vogel CLA 2019-09-05 04:20:15 EDT
No feedback