Using Eclipse 3.0.2, WindowBuilder Pro 4.0.0, when I try:
New->Other...
Designer
JFace
WizardPage
The dialog that appears has no icon (just a little red dot in the top rh corner).
I fill in folder/package/name for the new class and press Finish, and it gives me
a message saying the create failed, look in the log. I include the stack trace below.
The error is complaining that it can't find "WizardPage.jvt". When I checked, I could
see in plugins/com.swtdesigner_4.0.0/templates/JFace that there is file called
"wizardPage.jvt", so I copied this to "WizardPage.jvt" and
that seemed to fix the problem (except I still see the little red dot rather than an
icon in the designer wizard).
Couldn't see mention of this anywhere in the forums (apologies if it is covered
elsewhere), so wanted to check - have I done the right thing? And should I
expect to see an icon rather than a little red dot in the wizard dialog? Other
wizards, e.g. create application window, seem to work but also have a little red
dot rather than an icon, fwiw.
thanks
nick
log below:
java.io.FileNotFoundException: /templates/JFace/WizardPage.jvt
at org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(Handler.java:41)
at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnection(BundleResourceHandler.java:146)
at java.net.URL.openConnection(URL.java:943)
at java.net.URL.openStream(URL.java:1007)
at com.swtdesigner.DesignerPlugin.getFile(DesignerPlugin.java:360)
at com.swtdesigner.wizards.swt.GenericNewSWTWizardPage.createTypeMembers(GenericNewSWTWizardPage.java:31)
at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType(NewTypeWizardPage.java:1500)
at com.swtdesigner.wizards.DesignContainerWizard.finishPage(DesignContainerWizard.java:22)
at com.swtdesigner.wizards.swt.GenericNewSWTWizard.finishPage(GenericNewSWTWizard.java:31)
at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:108)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:700)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3246)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:65)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)