Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia] Nodes with images
[EuGENia] Nodes with images [message #695640] Tue, 12 July 2011 08:13 Go to next message
mingyi  is currently offline mingyi Friend
Messages: 3
Registered: June 2011
Junior Member
Hello,

I'm trying to creat nodes with images, but it can't display the images. Could someone tell me how to do with this ? Thanks a lot.

Mingyi
Re: [EuGENia] Nodes with images [message #697478 is a reply to message #695640] Sat, 16 July 2011 23:01 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Mingyi,

Apologies for the late reply. This example might help: http://eclipse.org/gmt/epsilon/examples/index.php?example=org.eclipse.epsilon.eugenia.examples.friends

Cheers,
Dimitris
Re: [EuGENia] Nodes with images [message #725609 is a reply to message #697478] Thu, 15 September 2011 10:54 Go to previous messageGo to next message
Pieter Van Gorp is currently offline Pieter Van GorpFriend
Messages: 7
Registered: July 2009
Junior Member
Hi all,
I have followed the instructions onhttp://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-nodes-with-images/ and I have gone as far as running the editor again with this custom figure code. For that, I had to do some additional work on the manifest file of the Eugenia project (http://screencast.com/t/u6jbe3W9Cln3) and also I have introduced a dependency from the *.diagram project to the Eugenia project. Finally, I have included the images directory in the *.diagram project and I have included that images folder in the build configurations (bin and src) in the plugin.xml of that project (http://screencast.com/t/RC5mtpoPCG9). These steps are based on some non-Epsilon-specific google searches and my personal intuition so please let me know if I have done something too much or too little (I am not an Eclipse plugin expert).

I am currently facing the problem of a NPE when using the Eugenia based editor. More specifically, the essential line with the imageDescriptorFromPlugin call returns null. Therefore, it seems that still I am missing something in my build configuration. I would be very grateful when learning how to fix this. Perhaps http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-nodes-with-images/ can be extended with some build/deploy instructions or pointers for Eclipse plugin dummies?

Thanks in advance for your insights,
Pieter
Re: [EuGENia] Nodes with images [message #725616 is a reply to message #725609] Thu, 15 September 2011 11:05 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Pieter,

I guess it would be easier to figure out what's going wrong by comparing your implementation against the complete implementation provided here http://eclipse.org/gmt/epsilon/examples/index.php?example=org.eclipse.epsilon.eugenia.examples.friends

If the problem persists, please send us your zipped project at epsilon.devs gmail com and we'll be more than happy to help.

Cheers,
Dimitris
Previous Topic:[Epsilon] File modified outside the editor
Next Topic:[Epsilon] Standalone: Deprecated EmfModel constants
Goto Forum:
  


Current Time: Thu Apr 25 21:30:35 GMT 2024

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

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

Back to the top