Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT + TableViewer + Selection Change
XWT + TableViewer + Selection Change [message #565392] Thu, 03 December 2009 14:10
Walter Mising name is currently offline Walter Mising name
Messages: 126
Registered: July 2009
Senior Member
E4 XWT needs more documentation as it is not quite easy to debug for a
beginner.

Anyways, how can I catch the selection changed events of a TableViewer ( I
am using pure XWT ) ?

<TableViewer x:style="BORDER|SINGLE|FULL_SELECTION" input="{Binding}"
selection="rowSelected" >

In the handler I have declared

protected void rowSelected ( org.eclipse.jface.viewers.ISelection e )
{
System.out.println ( e ) ;
}


I am getting this exception
org.eclipse.e4.xwt.XWTException: Converter is missing of type:
org.eclipse.jface.viewers.ISelection from String

Any pointers / document site where I can get more info ?

Thanks,
- Walter.
Previous Topic:XWT + CDO + Refresh
Next Topic:Modeled workbench changes
Goto Forum:
  


Current Time: Sat Nov 01 03:30:18 GMT 2014

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

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