Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT and ListViewer
XWT and ListViewer [message #645202] Wed, 15 December 2010 21:53 Go to next message
Wolfgang Herbst is currently offline Wolfgang HerbstFriend
Messages: 4
Registered: December 2010
Junior Member
Hi, I have the following XWT code
<ListViewer name="client" x:style="SWT.BORDER" input="{Binding Path=clients}" displayMemberPath="name"/>



What type of list has to be used for the clients property in order to get this working?

Cheers!
Re: XWT and ListViewer [message #645752 is a reply to message #645202] Mon, 20 December 2010 12:10 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 687
Registered: July 2009
Senior Member
It should work with any Java class with the property "name".

Best regards
Yves YANG
Re: XWT and ListViewer [message #648966 is a reply to message #645752] Sun, 16 January 2011 21:41 Go to previous message
St Clair Clarke is currently offline St Clair ClarkeFriend
Messages: 118
Registered: March 2010
Senior Member
Hello Wolfgang,
I am having similar problems.

Did you get the data to displayed in your ListViewer? If you do could you please post the snippets to show how a simple example works - ie the XWT code, code-behind code, model etc.

Thanks.
Previous Topic:how to pass arguments to a Part
Next Topic:e4 source code is giving some unexpected error
Goto Forum:
  


Current Time: Sun Nov 23 16:22:15 GMT 2014

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

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