Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » html/ nice text in EMFForms(html/ nice text in EMFForms RAP)
html/ nice text in EMFForms [message #1386753] Fri, 20 June 2014 06:16 Go to next message
Neil Mackenzie is currently offline Neil MackenzieFriend
Messages: 129
Registered: December 2013
Senior Member
Hello,
I was wondering how I can display nice text or html in ECP RAP using EMFForms. Ideally I would like tables and embedded images and full html, although I might be able to get away with just simple bold and underline . I can already display basic text in text area.
Maybe this would need to be a custom component. perhaps even based on the swt html browser widget?
Any ideas welcome.
Thanks,
Neil
Re: html/ nice text in EMFForms [message #1387010 is a reply to message #1386753] Mon, 23 June 2014 13:39 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi,

you would need to implement a custom renderer for this. Potentially even
a custom view model element if you want to distinguish the controls for
normal text from the controls for "html" text. For a first increment I
would create a custom renderer with a tester for a defined string
attribute. For a tutorial on how to do this please see:
http://eclipsesource.com/blogs/tutorials/how-to-customize-emf-forms/


Cheers,
Maximilian

Am 20.06.2014 08:16, schrieb Neil Mackenzie:
> Hello,
> I was wondering how I can display nice text or html in ECP RAP using
> EMFForms. Ideally I would like tables and embedded images and full html,
> although I might be able to get away with just simple bold and underline
> . I can already display basic text in text area. Maybe this would need
> to be a custom component. perhaps even based on the swt html browser
> widget?
> Any ideas welcome.
> Thanks,
> Neil


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Previous Topic:ECP RAP demo in Tomcat
Next Topic:[EMF FORMS] TreeMaster Details View Custom Elements
Goto Forum:
  


Current Time: Mon Mar 08 13:36:46 GMT 2021

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

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

Back to the top