java - Is there a good examples and documentation of jface databinding framework for Eclipse 3.4? -
The official site is quite rare and most examples are linked to the EMF and Eclipse is for 3.5 but what if using any 3.4 targets Does not use eclipse platform and emf. I am particularly interested in examples of tree viewer, but always appreciate good examples and documentation.
Here are some good resources:
- < Li>
I do not think there is a big difference between eclipses 3.4 and 3.5 in Jeffus databasing.
Edit
shows an overviewed list-examiner with the following code:
// Viewer viewer Define = New ListViewer (Guardian); Viewer.setContentProvider (New Observable List Content Provider); & Lt; Person & gt; Person = new arreelist & lt; Person & gt; (); // Just for testing we create sample data Example Examples (individuals); Input = new writable list (individuals, individual classes); // Set the writeable list as the input for the viewer viewer .set input (input);
Introduction It encourages that it also works with triviers. Content Provider requires you to do this org.eclipse.jface.databinding.viewers.ObservableListTreeContentProvider
This is a bit more complex because you need a list factory and a tree adverizer to create this content provider. That's all I can provide. No examples were found, and so far the database was not used with tree viewers. So now you should be a friend on JFace API Doctor;)