Just for the records, here are some constraints
that I required in order to agree to continue that work:
- Some stuff just doesn't make sense
to be generified because it often contains various kinds of objects, e.g.
(tree) viewers. See also http://dev.eclipse.org/mhonarc/lists/platform-ui-dev/msg05459.html.
- If generified types cannot be plugged
together unless everything is again just Object or Class, it's not worth
to generify those types.
- The generified code must be in a shape
so that clients can start to fix their code by invoking Refactor > Infer
Generic Type Arguments... This needs to be validate on existing Platform
Lars Vogel <lars.vogel@xxxxxxxxx>
Jeanderson Candido <jeandersonbc@xxxxxxxxx>, Hendrik Still <Gamma32@xxxxxxxxx>
Information about the "Generifing JFace viewers"
as some of you probably remember, the platform.ui team
started a GSoC project last year to generify the JFace viewer framework.
We (platform.ui team together with John Arthone and Dani Megert) decided
that it is worth to finish this project and started a new GSoC project.
Jeanderson Barros Candido (cc) is working on this project
with Hendrik Still (cc) (GSoC student from last year) and me as mentor.
I personally think the work looks already very good and
plan to integrated it soon into the master. We are trying to learn from
the experience from last year, therefore:
- We plan to integrate it as a whole, not piece
wise so people can fix warning messages created by this change
- We reworking the JFace snippets and
tests at the same time to have a first proof-point
- We plan to use it for platform views to
validate that it works
Of course generifying an existing API, will result in certain limitations
and some suggested a complete rewrite of the JFace viewer framework but
this is currently not the scope of this project.