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/FAQ"

(Where can I ask a question?)
Line 16: Line 16:
 
=== How do I bind to the ValidationError of a Binding or DataBindingContext? ===
 
=== How do I bind to the ValidationError of a Binding or DataBindingContext? ===
 
See [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet004DataBindingContextErrorLabel.java?rev=HEAD&content-type=text/vnd.viewcvs-markup snippet 004].
 
See [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet004DataBindingContextErrorLabel.java?rev=HEAD&content-type=text/vnd.viewcvs-markup snippet 004].
 +
 +
=== How do I run the tests? ===
 +
In order to run the tests you need to check out the following projects:
 +
* org.eclipse.jface.databinding
 +
* org.eclipse.jface.databinding.beans
 +
* org.eclipse.jface.databinding.ui
 +
* org.eclipse.jface.tests.databinding
 +
 +
If you were to run all tests in the project you'll certainly see some failures.  The reason being that we're in the process of refactoring for the 1.0 release.  To avoid this run org.eclipse.jface.tests.databinding.BindingTestSuite.

Revision as of 15:07, 4 November 2006

Does Data Binding depend upon Eclipse?

The core Data Binding plug-in only depends upon org.eclipse.equinox.common and no other parts of Eclipse. There are parts of Data Binding that depend upon SWT/JFace but these have been broken out into a separate plug-in, org.eclipse.jface.databinding.ui. For a discussion of why the core depends upon equinox common see bug 153630 comment 9.

Does Data Binding depend upon SWT?

No. Data Binding is meant to be UI toolkit agnostic and more specifically UI agnostic. There is default support for SWT and JFace but this is in the org.eclipse.jface.databinding.ui project which is separate from the core Data Binding APIs that live in org.eclipse.jface.databinding. For background and when the separation occurred in see bug 153630.

How do I report a bug?

On the Eclipse bugzilla log a bug to Eclipse > Platform > UI with "[DataBinding]" in the summary.

When will version 1.0 be released?

By 3.3M4 all API refactoring should have occurred and the code can be thought of as 1.0. But we're going to give ourselves until 3.3M5 in case any issues are found. To view the plan items for the 1.0 release see bug 154132.

Where can I ask a question?

You can ask questions on the Eclipse Platform newsgroup. When you post please prefix the title with "[DataBinding]".

How do I bind to the ValidationError of a Binding or DataBindingContext?

See snippet 004.

How do I run the tests?

In order to run the tests you need to check out the following projects:

  • org.eclipse.jface.databinding
  • org.eclipse.jface.databinding.beans
  • org.eclipse.jface.databinding.ui
  • org.eclipse.jface.tests.databinding

If you were to run all tests in the project you'll certainly see some failures. The reason being that we're in the process of refactoring for the 1.0 release. To avoid this run org.eclipse.jface.tests.databinding.BindingTestSuite.

Back to the top