| JFace [message #775278] |
Thu, 05 January 2012 12:54  |
Bill Brandley Messages: 12 Registered: October 2011 |
Junior Member |
|
|
I am playing around with WindowBuilder.
I created simple programs using "WindowBuilder/Swing Designer/Application Window" and "WindowBuilder/SWT Designer/SWT/Application Window" classes with no problem.
However, when I tryed to create a "WindowBuilder/SWT Designer/JFace/ApplicationWindow", the source code gave me unresolved imports associated with "org.eclipse.jface...".
What do I need to do to create a JFace based class without all th import errors?
Thanx,
Bill
|
|
|
| Re: JFace [message #775292 is a reply to message #775278] |
Thu, 05 January 2012 13:28   |
Konstantin Scheglov Messages: 547 Registered: July 2009 |
Senior Member |
|
|
1. Add JFace biraries from "plugins" folder of your Eclipse, into your project classpath.
2. Just create PDE project and add dependency on org.eclipse.ui plugin.
Konstantin Scheglov,
Google, Inc.
|
|
|
| Re: JFace [message #775338 is a reply to message #775292] |
Thu, 05 January 2012 14:54  |
Eric Clayberg Messages: 736 Registered: July 2009 Location: Boston, MA |
Senior Member |
|
|
|
Note that if you use the SWT/JFace project wizard that comes with WB or the Plugin/RCP wizard that comes with Eclipse, JFace will already be on the classpath. If you create the project manually or use the simple Java project wizard, it is up to you to properly configure the classpath with things like JFace.
|
|
|
Powered by
FUDForum. Page generated in 0.01479 seconds