how is it possible bind something invisible to the wizard?

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

how is it possible bind something invisible to the wizard?

Postby emaayan » Thu Apr 14, 2011 6:34 am

i'm attempting to bind a getValue setValue property to comboViewer Selction, BUT when i try to it through the wizard, i cannot the value property in the bean (even after refersh), but when i try to do it via code, it works.
emaayan
 
Posts: 19
Joined: Fri Nov 26, 2010 1:58 am

Re: how is it possible bind something invisible to the wiza

Postby asablin » Thu Apr 21, 2011 12:11 am

Could you give a test case that we could better understand what (model and target) you are trying to bind?
asablin
Moderator
 
Posts: 19
Joined: Thu Sep 23, 2010 3:07 am

Re: how is it possible bind something invisible to the wiza

Postby emaayan » Thu Apr 21, 2011 12:16 am

that would be rather difficult, i'll try that later, however the main problem that i have now, is that the binding source is not known (or may change after) the creation of the compomnent, meaning i have a composite which contains a tableviewer, and tableviewer's source (it's setInput) will change after it's creation, so i would to create a setter method that will recieve the input and then call the initDataBinding method, but i'm always afraid windows buidler will re-source it later.
emaayan
 
Posts: 19
Joined: Fri Nov 26, 2010 1:58 am

Re: how is it possible bind something invisible to the wiza

Postby Eric Clayberg » Thu Apr 21, 2011 6:06 am

I'm not sure what you mean by "re-source it later" in this context.

The situation you describe seems similar to one of the cases covered in the sample DB code provided in the product docs.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron