API Enhancements |
|
Refactoring to Support JFace Content Providers |
protected void setupTreeViewer(Composite parent) { treeViewer = new TreeViewer(parent, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL); getSite().setSelectionProvider(treeViewer); multiRosterContentProvider = new MultiRosterContentProvider(); multiRosterLabelProvider = new MultiRosterLabelProvider(); treeViewer.setLabelProvider(multiRosterLabelProvider); treeViewer.setContentProvider(multiRosterContentProvider); treeViewer.setInput(new Object()); }With this approach, the UI/viewer code does not need to know anything about the messaging to change/update the roster model. This model is managed by the ECF provider (XMPP) and when The MultiRosterContentProvider class (and others to support this new approach) are available in the (new) plugin: org.eclipse.ecf.presence.ui. See the classes in the org.eclipse.ecf.presence.ui package for example usage and reusable base classes. |
IRCLib Update |
|
Filetransfer Provider Uses Apache HttpClient 3.0.1 |
|
Overall Improvements to Presence API |
|