How to implement content assist for texts in GEF based editors? [message #247936] |
Mon, 30 March 2009 05:21  |
Eclipse User |
|
|
|
Hi,
We have developed a graphical Rules editor based on GEF.
But now we need to move on to the next step, provide content assist for
the text inside the blocks.
Are there any tutorial available to implement the content assist in GEF
based editors?
Thanks in Advance
Regards,
sheela
|
|
|
Re: How to implement content assist for texts in GEF based editors? [message #247958 is a reply to message #247936] |
Mon, 30 March 2009 10:42  |
Eclipse User |
|
|
|
If you don't have direct edit support, you'll need to build that in. The
Logic example has this. It is also mentioned in the GEF docs.
Once you have direct edit, that means you'll be working with a
CellEditor. I think you can just add content assist to the underlying
text field like you would any other text field. Have a look at
org.eclipse.jface.fieldassist.ContentProposalAdapter
-Ben
Sheela wrote:
> Hi,
>
> We have developed a graphical Rules editor based on GEF.
> But now we need to move on to the next step, provide content assist for
> the text inside the blocks.
> Are there any tutorial available to implement the content assist in GEF
> based editors?
>
>
> Thanks in Advance
>
>
> Regards,
>
>
> sheela
>
|
|
|
Powered by
FUDForum. Page generated in 0.03295 seconds