Jump to: navigation, search

Difference between revisions of "JFace Data Binding/Snippets"

(New page: Snippets that display common use cases and how they are satisfied with the JFace Data Binding API. {{JFace Data Binding}} === Basic === * [http://dev.eclipse.org/viewcvs/index.cgi/org.ecl...)
 
(Added a link to the TableViewer inline editing snippet)
Line 24: Line 24:
 
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet009TableViewer.java?view=markup Model to TableViewer binding] - basic binding to a TableViewer
 
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet009TableViewer.java?view=markup Model to TableViewer binding] - basic binding to a TableViewer
 
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet007ColorLabelProvider.java?view=markup TableViewer binding with colors] - label provider that provides Colors and auto updates the viewer
 
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet007ColorLabelProvider.java?view=markup TableViewer binding with colors] - label provider that provides Colors and auto updates the viewer
 
+
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet013TableViewerEditing.java?view=markup TableViewer inline editing] - TableViewer editing with the Eclipse 3.3 JFace viewer APIs. ''(requires Eclipse 3.3)''
 
[[Category:Data Binding]]
 
[[Category:Data Binding]]

Revision as of 20:25, 10 April 2007

Snippets that display common use cases and how they are satisfied with the JFace Data Binding API.

JFace Data Binding
Home
How to Contribute
FAQ
Snippets
Concepts
Binding
Converter
Observable
Realm

Basic

ComputedValue

  • Spreadsheet - fills a Table updating cells upon change
  • Name Formatter - observable value that updates when the first or last name changes

Bindings

Master Detail

SWT

Viewers