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
by rimmeraj » Fri Aug 10, 2007 7:45 am
Please excuse my ignorance (I am usally a vi kind of guy, this is awfully fancy). How do I get to see my Java bean in the data binding menu ( Just created it as a Java class with getters and seters). Do I have to do something special so WPro builder will see it as a bean?
-
rimmeraj
-
- Posts: 11
- Joined: Wed Oct 22, 2003 12:52 pm
by Eric Clayberg » Fri Aug 10, 2007 8:12 am
rimmeraj wrote:How do I get to see my Java bean in the data binding menu ( Just created it as a Java class with getters and seters). Do I have to do something special so WPro builder will see it as a bean?
What "data binding menu" are you referring to?
A detailed desxcription of what you are looking at or a screen shot woud help.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by rimmeraj » Fri Aug 10, 2007 8:53 am
I have a text field in a Shell. Right click, select Data Binding, Select Text and a Create Data Binding dialog comes up. I'm assuming if if press the button with the tool tip bean objects I should get a list of them? I need to somehow say here is my model ...
-
rimmeraj
-
- Posts: 11
- Joined: Wed Oct 22, 2003 12:52 pm
by Eric Clayberg » Fri Aug 10, 2007 11:26 am
rimmeraj wrote:I have a text field in a Shell. Right click, select Data Binding, Select Text and a Create Data Binding dialog comes up. I'm assuming if if press the button with the tool tip bean objects I should get a list of them? I need to somehow say here is my model ...
Yes. The
Create Data Binding dialog is discussed
here.
If you click the
Beans button, it will allow you to select any field defined in your class.
-
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: No registered users and 2 guests