[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] JFace examples in Second Edition of Clayberg/Rubel "Eclipse - Building Commercail Quality Plugins"
|
I posted this message to the email address supplied in the book but
got no reply, so here goes...
In my setup, with Eclipse 3.2.0 Build id: M20060629-1905, I got all
the way through the SWT examples without any problems whatsoever.
I then moved on to the JFace examples in Chapter 5. In addition to
the instructions for adding support for standalone JFace on page 193 I
proceeded with the ListViewer example. The instructions were shown
for Eclipse 3.1 and were evidently insufficent for Eclipse 3.2, and I
was obliged to add the org.eclipse.core.commands jarfile to my build
path, to resolve EventManager.class This got me further along, but I
got stuck again at runtime with
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/core/runtime/ISafeRunnable at
com.qualityeclipse.sample.ListViewerExample.main(ListViewerExample.java:36)
The line in question is
final ListViewer listViewer = new ListViewer (shell, SWT.SINGLE);
ISafeRunnable seems to be a rather fundamental part of the Eclipse
core. What have I done wrong? I had heard tell that JFace is now
formally unsupported outside the Eclipse plugin framework, so I fear I
may be on my own here.
I see a bunch of posts to this newsgroup from 2003 that mention
standalone JFace and wonder where to go from here. I had high hopes
for this book having had similar impassable roadblocks and unanswered
errata with both the RCP book and the SWT book.
Chris Gage
Gage Information Services Inc.
Raleigh NC