Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » JFace Data Binding - nested properties
JFace Data Binding - nested properties [message #467352] Mon, 30 January 2006 07:38 Go to next message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Hi!

I have 3 classes :

Country, Area, Town.

Each country have array of area`s and each area have array of town`s.
My MVC-based GUI have 3 AutoComplete - Text components for selecting
nessassary Country, Area, Town. As well if, for example, some Country
doesn`t have nested Areas, then when user selects such a country in first
Textbox, Area & Town textboxes are changing state to "disabled".

I`m thinking about raplacing my monster MVC with JFace databinding.
Actually I`m stucked on how to do this. As I saw test Nr.5 is disabled -
it is nested.properties test for Text components. So, without nested
properties what would be the smartest way to realize such behaviour? Or I
should wait for implementation?
Re: JFace Data Binding - nested properties [message #467356 is a reply to message #467352] Mon, 30 January 2006 09:10 Go to previous messageGo to next message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Found what I needed in
org.eclipse.jface.tests.databinding.scenarios.ComboScenarios .
Re: JFace Data Binding - nested properties [message #467500 is a reply to message #467356] Wed, 01 February 2006 07:20 Go to previous message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Actually what I was needing is this class

MasterDetailScenarios.java

in

org.eclipse.jface.tests.databinding.scenarios
Previous Topic:Need a Workaround to get a Working ScrollBar
Next Topic:Long running wizard process
Goto Forum:
  


Current Time: Thu Jun 20 14:06:17 GMT 2019

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

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

Back to the top