Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » ContentProposalAdapter binding(Is it possible to bind an object selected via ContentProposalAdapter on Text widget?)
ContentProposalAdapter binding [message #1091616] Wed, 21 August 2013 19:05
Martin Bayer is currently offline Martin BayerFriend
Messages: 32
Registered: December 2012
Hi all,
I'd like to know if it is possible to bind an object selected in the Text widget via ContentProposalAdapter to the object in model. I have the following:
offerPresentedByText = new Text(container, SWT.BORDER | SWT.MULTI);
a1 = new ContentProposalAdapter(offerPresentedByText,
	new TextContentAdapter(), new ContactContentProposalProvider(
	ContactAccess.getInstance().getContacts()), null, null);

Object of type Contact is selected to the offerPresentedByText Text widget and I need to bind it to another object's property which is available in the class.

Thank you
Previous Topic:TableViewer not preserved sorting
Next Topic:TitleAreaDialog - An exception with no message.
Goto Forum:

Current Time: Thu Nov 15 10:04:14 GMT 2018

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

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

Back to the top