ECP/EMForms and pictures [message #1581914] |
Sat, 24 January 2015 04:25  |
Eclipse User |
|
|
|
Hello,
I have a model which includes some large navigable text (chapters and sections paragraphs and sub paragrahs) and some pictures that go with the text (as jpegs). I would like to display this with ecp so that links can be added between related paragraphs by the readers and stored as an updated model in EMFStore.
Is there any ECP/EMForms control for displaying pictures , maybe this would need to be a custom control? I need something that works in RCP and RAP.
It would be quite ok for me to have the text in one model element and the picture in another and display them seperately.
Regards,
Neil
|
|
|
Re: ECP/EMForms and pictures [message #1583777 is a reply to message #1581914] |
Sun, 25 January 2015 05:47  |
Eclipse User |
|
|
|
Hi Neil,
there is currently no default control for displaying pictures. However,
it should b fairly simple to add one. Probably you want to store the
path to the picture in a String attribute and then implement a renderer
showing the picture.
Best regards
Jonas
Am 24.01.2015 um 10:25 schrieb Neil Mackenzie:
> Hello,
> I have a model which includes some large navigable text (chapters and
> sections paragraphs and sub paragrahs) and some pictures that go with
> the text (as jpegs). I would like to display this with ecp so that links
> can be added between related paragraphs by the readers and stored as an
> updated model in EMFStore.
> Is there any ECP/EMForms control for displaying pictures , maybe this
> would need to be a custom control? I need something that works in RCP
> and RAP.
> It would be quite ok for me to have the text in one model element and
> the picture in another and display them seperately.
> Regards,
> Neil
--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Powered by
FUDForum. Page generated in 0.03936 seconds