Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to make example work?
How to make example work? [message #226534] Thu, 16 November 2006 01: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 17:14 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
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:Label Decorators in Outline View
Next Topic:location problem
Goto Forum:
  


Current Time: Wed Oct 20 04:14:24 GMT 2021

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

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

Back to the top