Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Installation issues [Resolved]
Installation issues [Resolved] [message #1091326] Wed, 21 August 2013 10:52 Go to next message
Kevin CARPENTIER is currently offline Kevin CARPENTIERFriend
Messages: 3
Registered: August 2013
Junior Member
Hello everybody,


I am trying to use Graphviz dot support from ZEST in GEF4 and I am encountering some issues Sad.

I installed GEF4 and ZEST toolkit from the update sites but I can't use them in my projects... I feel like I am missing something but can't find what...

I use Eclipse Indigo SR2, and basically the "symptoms" are that Zest class don't appear, and org.eclipse... imports are not recognized.

Thank you for your help, and my apologies if the answer has been previously provided...

[Updated on: Fri, 23 August 2013 07:21]

Report message to a moderator

Re: Installation issues [message #1091632 is a reply to message #1091326] Wed, 21 August 2013 19:31 Go to previous messageGo to next message
Fabian Steeg is currently offline Fabian SteegFriend
Messages: 76
Registered: July 2009
Member
Hi Kevin!

If org.eclipse.* imports in general are not recognized my first idea would be that you don't have a Plug-in project but a plain Java project. Do you have a META-INF/MANIFEST.MF file in you project? To use the DOT support in GEF4, import the org.eclipse.gef4.zest.dot.* bundles in the manifest. Then the snippet from http://wiki.eclipse.org/Zest/DOT#API should work. To check if GEF4 is actually installed, I'd try to open the Zest Graph View (see http://wiki.eclipse.org/Zest/DOT#GUI).

Hope that helps!

Cheers,
Fabian
Re: Installation issues [message #1091991 is a reply to message #1091632] Thu, 22 August 2013 07:29 Go to previous messageGo to next message
Kevin CARPENTIER is currently offline Kevin CARPENTIERFriend
Messages: 3
Registered: August 2013
Junior Member
Hi Fabian,

Thank you for your answer !
Indeed, I am using a plain Java Project. I was hoping to use GEF4 features within a previous project... I guess this is the reason why I do not have a META-INF/MANIFEST.MF.

I created a Java Plugin project to try, and the snippet works just fine, so thank you very much for that !

But, I don't really understand why should I use a plugin project to make it work... I must be missing something (I kind of get used to it...). Any link to make it more understandable for my brain?

Cheers Smile

Kevin
Re: Installation issues [message #1092100 is a reply to message #1091991] Thu, 22 August 2013 10:26 Go to previous messageGo to next message
Fabian Steeg is currently offline Fabian SteegFriend
Messages: 76
Registered: July 2009
Member
Hi Kevin!

In general it is possible to develop SWT applications without having a plug-in project (see http://www.eclipse.org/swt/eclipse.php), but using a plug-in project makes handling the dependencies much easier. You can convert your plain Java project to a plug-in project in Eclipse (Right-click the project > Configure > Convert to Plug-in project). That basically just adds the manifest and should not interfere with the rest of the project.

There are a lot of good tutorials available from http://www.vogella.com/eclipse.html, in particular one on Zest: http://www.vogella.com/articles/EclipseZest/article.html (not the GEF4 version though).

Cheers,
Fabian
Re: Installation issues [message #1092773 is a reply to message #1092100] Fri, 23 August 2013 07:20 Go to previous message
Kevin CARPENTIER is currently offline Kevin CARPENTIERFriend
Messages: 3
Registered: August 2013
Junior Member
Great !

Merci beaucoup Smile. Thanks a lot Fabian.

Kevin
Previous Topic:Export as Image Action - Not enabled at StartUp
Next Topic:Draw2d FlowLayout
Goto Forum:
  


Current Time: Fri Apr 19 15:38:18 GMT 2024

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

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

Back to the top