Skip to main content



      Home
Home » Eclipse Projects » GEF » How to make example work?
How to make example work? [message #226534] Wed, 15 November 2006 20:15 Go to next message
Eclipse UserFriend
Originally posted by: siegfried.heintze.com

I'm trying to make the example at
http://www.eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2 d.html work.
Exactly what external jar files do I have to add? Exactly what import
statements do I have to add to classes UMLClassFigure and CompartmentFigure?
Is the full source code (that includes the missing import statements)
available somewhere?
Thanks,
Siegfried
P.S. I won't be fooled by that nasty message that says it could not post
because the username and password were bad!
Re: How to make example work? [message #226600 is a reply to message #226534] Fri, 17 November 2006 12:14 Go to previous message
Eclipse UserFriend
Hi Siegfried

In the Eclipse IDE:

Create a Java Project and add the java files to this project
Select the project properties and go to the Java Build Path
Select the Libraries tab
Add External Jars and browse to the plug-ins directory and select the
draw2d.jar
Add Library and select the Standard Widget Toolkit (SWT), use the IDE
platform.
Click ok,

Then right click on the UMLClassFigureTest and run as a Java Application.

Cheers...
Anthony

"Siegfried Heintze" <siegfried@heintze.com> wrote in message
news:ejge2o$3ru$2@utils.eclipse.org...
> I'm trying to make the example at
> http://www.eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2 d.html work.
> Exactly what external jar files do I have to add? Exactly what import
> statements do I have to add to classes UMLClassFigure and
> CompartmentFigure? Is the full source code (that includes the missing
> import statements) available somewhere?
> Thanks,
> Siegfried
> P.S. I won't be fooled by that nasty message that says it could not post
> because the username and password were bad!
>
Previous Topic:KeyHandler
Next Topic:Two palettes in the same editor
Goto Forum:
  


Current Time: Sat May 24 22:38:47 EDT 2025

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

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

Back to the top