Eclipse 3.2RC2 & ViewPart

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Eclipse 3.2RC2 & ViewPart

Postby mikeai » Tue May 02, 2006 11:43 am

Well SWT Designer doesn't work with Eclipse 3.2RC2. I got ParseException when tried to switch to design mode.

Parse failed:
Could not create representation of dialog.
Internal parser error
com.swtdesigner.model.parser.ParserException
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:212)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:979)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:915)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:899)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:352)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:170)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:949)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:934)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3170)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1953)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
mikeai
 
Posts: 9
Joined: Fri Jan 06, 2006 3:53 am

Re: Eclipse 3.2RC2 & ViewPart

Postby Eric Clayberg » Tue May 02, 2006 7:28 pm

mikeai wrote:Well SWT Designer doesn't work with Eclipse 3.2RC2. I got ParseException when tried to switch to design mode.

Is your ViewPart contained in a plugin or RCP Project?

What vesion of Designer are you using? Give the latest v4.3.1 build a try.

If that doesn't help, send us a test case.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby mikeai » Wed May 03, 2006 2:50 pm

My test case is simple. I've made RCP application with view from Eclipse RCP template, and then tried to see view in designer window. Eclipse is 3.2RC2, and Designer 4.3.1 from 2nd May.
mikeai
 
Posts: 9
Joined: Fri Jan 06, 2006 3:53 am

Postby Eric Clayberg » Thu May 04, 2006 6:14 am

mikeai wrote:My test case is simple. I've made RCP application with view from Eclipse RCP template, and then tried to see view in designer window. Eclipse is 3.2RC2, and Designer 4.3.1 from 2nd May.

I tried this as well (using the RCP Mail template) and it worked fine on my end. I also tried using our Designer's ViewPart wizard and it also worked fine.

Try this again using the latest v4.3.1 build.

If that does not help, try the suggestions in this FAQ entry in case it is an installation or configuration issue.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest