Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » JFace Databinding Example
JFace Databinding Example [message #448350] Fri, 21 April 2006 09:35 Go to next message
Eclipse UserFriend
I ve tried the example
( http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/databinding-proposal/Viewlets/JFaceBindingSampl eProject.zip)
from Ed Burnette, but it seems that i have the wrong eclipse
version....the example will not work! Has anyone a small working example
of jface databinding?

cu
Karl
Re: JFace Databinding Example [message #448356 is a reply to message #448350] Fri, 21 April 2006 14:32 Go to previous messageGo to next message
Eclipse UserFriend
Karl, the best thing to do is to grab the projects from CVS. There are
projects that contain examples and tests.

* org.eclipse.jface.databinding
* org.eclipse.jface.examples.databinding
* org.eclipse.jface.tests.databinding

You should be able to find a master detail example in
org.eclipse.jface.examples.databinding/src/org.eclipse.jface .examples.databinding.nestedselection.TestMasterDetail.

For

more Data Binding info it can be found on the Eclipse wiki at:
http://wiki.eclipse.org/index.php/JFace_Data_Binding

Also next time if possible it's recommended to put "[DataBinding]" in
the subject of the posts for Data Binding as it makes it easier to
monitor the group.

Hope that helps,
Brad

On 2006-04-21 07:35:41 -0600, Karl <office@herrderringe.at> said:

> I ve tried the example
> ( http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/databinding-proposal/Viewlets/JFaceBindingSampl eProject.zip)
> from Ed Burnette, but it seems that i have the wrong eclipse
> version....the example will not work! Has anyone a small working
> example of jface databinding?
>
> cu
> Karl
Re: JFace Databinding Example [message #448376 is a reply to message #448356] Mon, 24 April 2006 08:07 Go to previous messageGo to next message
Eclipse UserFriend
my problem with these examples is, that they have an other structure
than expected, therefore I can't run simple Examples... i have always a
problem with importing:
import org.eclipse.jface.databinding.DataBinding;
therefore i can't compile:
IDataBindingContext dbc = DataBinding.createContext(sShell);
a line of code from the mentioned example.

when i check out org.eclipse.jface.databinding i see the structure in
cvs as: org.eclipse.jface.databinding but after checking out it is more
like: org.eclipse.jface.internal.databinding.provisional.databindi ng ...

cu
karl

Brad Reynolds schrieb:
> Karl, the best thing to do is to grab the projects from CVS. There are
> projects that contain examples and tests.
>
> * org.eclipse.jface.databinding
> * org.eclipse.jface.examples.databinding
> * org.eclipse.jface.tests.databinding
>
> You should be able to find a master detail example in
> org.eclipse.jface.examples.databinding/src/org.eclipse.jface .examples.databinding.nestedselection.TestMasterDetail.
>
>
> For
> more Data Binding info it can be found on the Eclipse wiki at:
> http://wiki.eclipse.org/index.php/JFace_Data_Binding
>
> Also next time if possible it's recommended to put "[DataBinding]" in
> the subject of the posts for Data Binding as it makes it easier to
> monitor the group.
>
> Hope that helps,
> Brad
>
> On 2006-04-21 07:35:41 -0600, Karl <office@herrderringe.at> said:
>
>> I ve tried the example
>> ( http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/databinding-proposal/Viewlets/JFaceBindingSampl eProject.zip)
>> from Ed Burnette, but it seems that i have the wrong eclipse
>> version....the example will not work! Has anyone a small working
>> example of jface databinding?
>>
>> cu
>> Karl
>
>
Re: JFace Databinding Example [message #448379 is a reply to message #448376] Mon, 24 April 2006 08:41 Go to previous message
Eclipse UserFriend
Karl,
A major refactoring occurred between the 3.2m5 and 3.2m6 data binding code. I'm assuming the example that you were previously looking at won't compile because it was built against 3.2m5. If you were to look at the examples in the org.ecclipse.jface.examples.databinding project you'll find examples that compile and run. In the 3.2m6 code there isn't an IDataBindingContext interface or DataBinding class. So this code will not run with the latest 3.2m6 code.

-brad
Previous Topic:Tooltip on a button from view`s actionbar
Next Topic:Can I programmatically add actions to menu from plugin?
Goto Forum:
  


Current Time: Tue Jul 15 13:06:10 EDT 2025

Powered by FUDForum. Page generated in 0.04291 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top