I'm porting an application from Eclipse RCP to GWT. One of the features I have are links embedded in text which the users can't edit directly -- only through menu options. As far as I can see, the best way to implement this in GWT is through hyperlinks in the RichTextArea widget, but there is no way I've figured out to protect users from editing the hyperlinks as if they were regular text. I was hopeful I could use addKeyPressHandler() to check if a key press was in the hyperlink text and disable it, but I can find no useful information telling which location in the text the key press came from. I thought embedding a simple widget in the text displaying the hyperlink alias my work (like a gadget in a Google Wave) but can't find any support for such a device. Any suggestions you might have for solving this problem would be greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---