Support for Ext GWT (GXT)

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

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

Support for Ext GWT (GXT)

Postby pczurak » Wed Oct 28, 2009 10:09 pm

I have Eclipse 3.5 and trial version of GWT Designer and trying to use Ext GWT library.
But I can not find any documentation or examples of how to create an Ext GWT project or how to add Ext GWT controls to the Pellete.

Can someone tell me how to do either one or point me to the documentation?

Thank You


Peter
pczurak
 
Posts: 6
Joined: Wed Oct 28, 2009 10:04 pm

Re: Support for Ext GWT (GXT)

Postby spi29 » Thu Oct 29, 2009 3:07 am

I try to test the same configuration but I have a error when i try to view the DESIGN view.

Thank you for your help.

Code: Select all
WindowBuilder was not able to show GUI.

WindowBuilder internal error

WindowBuilder encountered unexpected internal error. Please contact support.



Show stack trace.
Hide stack trace.

Stack trace:
java.lang.NullPointerException
   at com.instantiations.designer.core.editor.palette.model.entry.ComponentEntryInfo.initialize(ComponentEntryInfo.java:206)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.getVisualEntry(DesignerPaletteComposite.java:221)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.access$500(DesignerPaletteComposite.java:73)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite$4.getEntries(DesignerPaletteComposite.java:283)
   at com.instantiations.designer.core.controls.palette.PaletteComposite$CategoryFigure.<init>(PaletteComposite.java:304)
   at com.instantiations.designer.core.controls.palette.PaletteComposite$PaletteFigure.refresh(PaletteComposite.java:226)
   at com.instantiations.designer.core.controls.palette.PaletteComposite.refreshPalette(PaletteComposite.java:173)
   at com.instantiations.designer.core.controls.palette.PaletteComposite.setPalette(PaletteComposite.java:167)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.showPalette(DesignerPaletteComposite.java:369)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.reloadPalette(DesignerPaletteComposite.java:146)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.setInput(DesignerPaletteComposite.java:114)
   at com.instantiations.designer.core.editor.DesignComposite.refresh(DesignComposite.java:221)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:467)
   at com.instantiations.designer.core.editor.DesignPage.access$800(DesignPage.java:58)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:347)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:344)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:365)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:314)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
   at com.instantiations.designer.core.editor.DesignPage.refreshGEF(DesignPage.java:300)
   at com.instantiations.designer.core.editor.actions.RefreshAction.run(RefreshAction.java:34)
   at com.instantiations.designer.core.editor.actions.DesignPageAction.run(DesignPageAction.java:23)
   at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(ExceptionComposite.java:102)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Full context stack trace:
java.lang.NullPointerException
   at com.instantiations.designer.core.editor.palette.model.entry.ComponentEntryInfo.initialize(ComponentEntryInfo.java:206)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.getVisualEntry(DesignerPaletteComposite.java:221)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.access$500(DesignerPaletteComposite.java:73)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite$4.getEntries(DesignerPaletteComposite.java:283)
   at com.instantiations.designer.core.controls.palette.PaletteComposite$CategoryFigure.<init>(PaletteComposite.java:304)
   at com.instantiations.designer.core.controls.palette.PaletteComposite$PaletteFigure.refresh(PaletteComposite.java:226)
   at com.instantiations.designer.core.controls.palette.PaletteComposite.refreshPalette(PaletteComposite.java:173)
   at com.instantiations.designer.core.controls.palette.PaletteComposite.setPalette(PaletteComposite.java:167)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.showPalette(DesignerPaletteComposite.java:369)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.reloadPalette(DesignerPaletteComposite.java:146)
   at com.instantiations.designer.core.editor.palette.DesignerPaletteComposite.setInput(DesignerPaletteComposite.java:114)
   at com.instantiations.designer.core.editor.DesignComposite.refresh(DesignComposite.java:221)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:467)
   at com.instantiations.designer.core.editor.DesignPage.access$800(DesignPage.java:58)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:347)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:344)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:365)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:314)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
   at com.instantiations.designer.core.editor.DesignPage.refreshGEF(DesignPage.java:300)
   at com.instantiations.designer.core.editor.actions.RefreshAction.run(RefreshAction.java:34)
   at com.instantiations.designer.core.editor.actions.DesignPageAction.run(DesignPageAction.java:23)
   at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(ExceptionComposite.java:102)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

spi29
 
Posts: 2
Joined: Thu Oct 29, 2009 3:00 am

Re: Support for Ext GWT (GXT)

Postby Eric Clayberg » Thu Oct 29, 2009 4:20 am

pczurak wrote:Can someone tell me how to do either one or point me to the documentation?

Starting with the product docs is always a good idea... ;-)

http://download.instantiations.com/D2WB ... t/gxt.html
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

Re: Support for Ext GWT (GXT)

Postby pczurak » Thu Oct 29, 2009 5:39 am

I have added gxt.jar to my project but I do not get the GXT palette in the designer.

when I click on the Google Web Toolkit I do not get option for Ext GWT.

What am I doing wrong? I can not find any documentation about this problem.


Thank You


Peter
pczurak
 
Posts: 6
Joined: Wed Oct 28, 2009 10:04 pm

Re: Support for Ext GWT (GXT)

Postby Eric Clayberg » Thu Oct 29, 2009 6:34 am

pczurak wrote:I have added gxt.jar to my project but I do not get the GXT palette in the designer.

Adding the gxt.jar file is only one of the required steps to adding GXT support to your project.

The Configure for using Ext GWT (GXT) command will do all the work for you.

Make sure you read the directions and right-click on your GWT Module file.

Note that the new GWT Java Project wizard also includes an option to add GXT support when a project is initially created.
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

Re: Support for Ext GWT (GXT)

Postby pczurak » Thu Oct 29, 2009 6:46 am

I do not have the "The Configure for using Ext GWT (GXT) command" it does not show up in the menu.

When I right click on the GWT Module I do not get any options for Ext GWT.

I do not have option to add GXT support to a project when it is initially created in the new GWT Java Project wizard.



How do I add the Ext GWT support to the GWT Designer? I have read and followed the directions from Ext GWT and I can create application using the Ext GWT tool kit by adding the jars manually, but GWT Designer does not recognize it.
pczurak
 
Posts: 6
Joined: Wed Oct 28, 2009 10:04 pm

Re: Support for Ext GWT (GXT)

Postby Eric Clayberg » Thu Oct 29, 2009 7:06 am

pczurak wrote:I do not have the "The Configure for using Ext GWT (GXT) command" it does not show up in the menu.

Post a screen shot of exactly what you are seeing.

Also make sure that you are using the latest GWT Designer v7.2 build.
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

Re: Support for Ext GWT (GXT)

Postby pczurak » Thu Oct 29, 2009 9:33 pm

Here are the screen prints

1) shows what is installed in Eclipse
2) shows there is no option to create GWT Designer project
3) shows no optioni for Ext GWT project
Attachments
No Option for GWT Designer project.PNG
No option to Configure for using Ext GWT (GXT) command
No Option for GWT Designer project.PNG (27.45 KiB) Viewed 801 times
Select New Project.PNG
Shows Designer is missing when trying to create new project
Select New Project.PNG (26.68 KiB) Viewed 801 times
Installed.PNG
Shows what's installed
Installed.PNG (36.11 KiB) Viewed 801 times
pczurak
 
Posts: 6
Joined: Wed Oct 28, 2009 10:04 pm

Re: Support for Ext GWT (GXT)

Postby Eric Clayberg » Fri Oct 30, 2009 4:09 am

pczurak wrote:1) shows what is installed in Eclipse

The version/build number is truncated, so it doesn't show very much.

pczurak wrote:2) shows there is no option to create GWT Designer project

This shows that you are not following the directions (or my suggestion) to right-click on the GWT module file.

In this screen shot, you are right-clicking on the project itself.

pczurak wrote:3) shows no option for Ext GWT project

I never suggested there was an option to create a "Ext GWT Project".

There is, however, an option to create a "GWT Java Project" (as stated earlier) which includes an option to add GXT support.
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 GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest