Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to run example code from
How to run example code from [message #532391] Sun, 09 May 2010 14:55 Go to next message
jojo  is currently offline jojo Friend
Messages: 2
Registered: May 2010
Junior Member

I am absolutely new to Eclipse Plug-in development and GEF. I have read a lot of tutorials and how-to's.

Sadly i have not managed to get a running GEF plug until now. I just downloaded the examples from and set up the example "Plug In / Shapes" by doing the following in eclipse:

right-click in project-pane --> New --> other --> expanded GEF (...) plug-ins --> choose "Shapes" --> Next --> Finish

This gives me a GEF project which shall be complete. But sadly i can not run this application at all :/

When just trying "run as --> Java Application" eclipse complains about a missing "main".

Maybe anyone can point me into the right direction or give me a hint. All tutorials i have read do not give me any idea how i have to sort my classes in eclipse and run them properly...

Thanks a lot in advance and cheers from a frustrated guy Very Happy

Re: How to run example code from [message #533123 is a reply to message #532391] Wed, 12 May 2010 10:45 Go to previous message
Andreas is currently offline AndreasFriend
Messages: 5
Registered: May 2010
Junior Member
You need to open the plugin.xml and open the tab extensions
There search for the extensions field.In shapes example you can find it here: "plugin.xml" -> tab "extensions", open the tree item "org.eclipse.ui.editors" now theres a label called extensions on the right with the value "shapes" this

Now that you know what extension your plugin has you have to run a second eclipse application by simply click on the green arrow on the plugin.xml "Overview" tab

Another eclipse application should open, there create a new (empty) Project and create a new file with the extension .shapes
for example: shape.shapes

Open this file and you should see the shapes editor
Previous Topic:[SOLVED]Problem with Property View
Next Topic:[Zest] Next Gen Zest ... where?
Goto Forum:

Current Time: Sat Apr 21 06:01:50 GMT 2018

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

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