Skip to main content



      Home
Home » Eclipse Projects » GEF » Source code of Randy's GEF tutorial
Source code of Randy's GEF tutorial [message #158939] Sat, 20 November 2004 13:58 Go to next message
Eclipse UserFriend
Hello,

I've just read the GEF tutorial located at the IBM developerWorks website.

Does anyone know where I can get the source of that? All I want is a
small plugin to start from where no model is persistently saved. Just a
hardcoded model with a few rectangles to move around.

Thanks for any help.

Christian
Re: Source code of Randy's GEF tutorial [message #158991 is a reply to message #158939] Mon, 22 November 2004 00:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ranjit.notMyId.com

Christian Hauser wrote:
> Hello,
>
> I've just read the GEF tutorial located at the IBM developerWorks website.
>
> Does anyone know where I can get the source of that? All I want is a
> small plugin to start from where no model is persistently saved. Just a
> hardcoded model with a few rectangles to move around.
>
> Thanks for any help.
>
> Christian

There are some simple examples to start at the wiki page.
http://eclipsewiki.editme.com/GEF
The Simple Example from jbonevic is what you may want to look at.
It is the vanilla flavour example with basic shapes to move around.
Re: Source code of Randy's GEF tutorial [message #159085 is a reply to message #158991] Mon, 22 November 2004 14:09 Go to previous messageGo to next message
Eclipse UserFriend
> There are some simple examples to start at the wiki page.
> http://eclipsewiki.editme.com/GEF
> The Simple Example from jbonevic is what you may want to look at.
> It is the vanilla flavour example with basic shapes to move around.

I'm using Eclipse 3.0.1 and GEF 3.0.1, but get the following error using
jbonevic's plugin when trying to open the Simple GEF Example file Wizard:

The selected wizard could not be started.
Reason:
Plug-in com.bonevich.simplegef.SimpleGefPlugin was unable to load class
com.bonevich.simplegef.wizards.NewSimpleGefWizard.

My build.properties file looks like this:
source.simplegef.jar = src/java/
output.simplegef.jar = target/classes/
bin.includes = plugin.xml,\
META-INF/,\
simplegef.jar,\
icons/

In target/classes/ are the .class files. I don't know what the problem
is, but it just doesn't seen to work for me.

Any help is highly appreciated.

Christian
Re: Source code of Randy's GEF tutorial [message #159102 is a reply to message #159085] Mon, 22 November 2004 15:26 Go to previous messageGo to next message
Eclipse UserFriend
> My build.properties file looks like this:
> source.simplegef.jar = src/java/
> output.simplegef.jar = target/classes/
> bin.includes = plugin.xml,\
> META-INF/,\
> simplegef.jar,\
> icons/

Including the directory META-INF (which I had deleted) seems to fix my
problems. However, why should I have to add the MANIFEST.MF file to make
the plugin run?

Thanks anyway to Jeffey for this mini GEF plugin. It really is a good
and very simple starting point.

Christian
Re: Source code of Randy's GEF tutorial [message #159184 is a reply to message #158939] Tue, 23 November 2004 11:17 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The latest 3.1 builds contain a basic "shapes" example.

"Christian Hauser" <c.hauser@active.ch> wrote in message
news:cno42t$ip$1@www.eclipse.org...
> Hello,
>
> I've just read the GEF tutorial located at the IBM developerWorks website.
>
> Does anyone know where I can get the source of that? All I want is a
> small plugin to start from where no model is persistently saved. Just a
> hardcoded model with a few rectangles to move around.
>
> Thanks for any help.
>
> Christian
Previous Topic:how to create a line editpart?
Next Topic:Multipage editor with zoom
Goto Forum:
  


Current Time: Sun May 11 16:18:44 EDT 2025

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

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

Back to the top