Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JFace Data Binding/Snippets"

(Added a link to the TableViewer inline editing snippet)
Line 25: Line 25:
 
* [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)''
 
* [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]][[Category:Snippets]]

Revision as of 11:55, 11 June 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

Back to the top