Hi all,
I'm currently working with Lars Vogel and Hendrik Still in our proposal to add Generics support to JFace viewers as part of Google Summer of Code 2014.
I'm migrating old patches from last year by Hendrik to continue the work from where he stopped (first attempt to add Generics on GSoC 13).
---------Before--------
public class StructuredViewerInternals {
...
protected static void setAssociateListener(StructuredViewer viewer,
AssociateListener listener) { ... }
protected static Widget[] getItems(StructuredViewer viewer, Object element) { ... }
...
}
---------After-----------
public class StructuredViewerInternals {
...
protected static <E,I> void setAssociateListener(StructuredViewer<E,I> viewer,
AssociateListener listener) {...}
protected static <E,I> Widget[] getItems(StructuredViewer<E,I> viewer, E element) { ... }
...
}
-----------------------------
Although tests run with no problems, Eclipse complains that this is a minor change (change of API with backwards compatibility), therefore should be 3.11.qualifier instead of 3.10.qualifier.
I'm writing to know if there's any problem on updating the JFace version, so we won't have any problems when the whole work gets done and ready to be merged into Eclipse repository.
I'm working in a forked branch at Github: jeandersonbc/eclipse.platform.ui
Thanks in advance. I hope to get more involved with the community and continue to contribute to Eclipse after the program.
Best regards,
Jeanderson Barros Cândido