A small guide in setting up eclipse to program SmartGWT and make a small first project.
Lets get downloading
First we are gone need to get some downloads going and install them:
- we are gone program in eclipse so first get eclipse. We will be needing Web Tools Platform (WTP) Project (you can get it here: http://www.eclipse.org/webtools/).
- if we want to use SmartGWT we need GWT (latest version @ 5/03/2009 is 1.5). Find the one for your OS here: http://code.google.com/webtoolkit/download.html. put the files somewhere on you PC where you can find it back and doesn’t have to be replaced.
- To make working with GWT project’s easier we will install the Cypal studio for GWT plugin (you can find it here: http://www.cypal.in/studio). This plugin will help us create compile and debug the gwt project. Extracting the Cypal file to your Eclipse directory places files in the features and plugins directories.
Small configuration
Now Cypal will need the location of the gwt files we got. So start up eclipse and go to the preferences screen (window=>preferences). In the left menu you should see a Cypal studio entry. There you need to set the GWT Home, browse to your GWT map. Now we are ready to start or first project.
Start a project
Start a new Dynamic Web Project. For configurations we will first need to set Dynamic Web Module version to 2.4 (2.5 does not work for cypal studio) and then select cypal studio for gwt under configuration. Set name and location for your project. Next you have a chance to change directory (created by cypal studio) names, default is fine. Finish. If all went right cypal Will create a bunch of files and dirs for you, the project GWT project is created.
Now if we want the project to do something, we need to add a new module. click new=>Other and there you find cypal studio map. select GWT module.
The project should now contain a .html file and a .java file (with the module name you have chosen). You can have a look at the html file created, it looks nice but it will only be needed to load the javascript in. The java file on the other hand we need to be filled with some functionality. For example we can place this code in the onModuleLoad() method:
String name = “your name here”;
Label label = new Label(“Hello, ” + name);
RootPanel.get().add(label);
also add the required imports on top:
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
all code in onModuleLoad will (as the name says) run when the module is loaded so when we load the page.
Now lets cross or fingers and try to run this. Go to run configurations (Run=>Run configurations) select GWT hosted mode application and click new (small icon in the top-left side of the screen). Select the project you want to run and click Run. hopefully you now see what you expected being a line of text saying “hello, your name”
.
edit: Also see this screen cast for creating and running a new module.
To SmartGWT
GWT is nice, makes you compile java to java script. But what if you want to see grids, calendars, windows, etc. Lucky for you there are some widget libraries containing all those things. We will use SmartGWT (some other examples are: gwt-ext, ext-gwt, MyGWT, etc.). Go to http://code.google.com/p/smartgwt/ (latest released version is SmartGWT 1.0b2) and get the library, trow it at a nice place on you pc and go back to eclipse.
Right click the project we just made build path => Configure Build Path there click add external jar and browse to the SmartGwt.jar. also add a following line to chosenfilename.gwt.xml:
<!– Inherit the SmartGWT Toolkit library configuration. –>
<inherits name=”com.smartgwt.SmartGwt”/>
Now the project is ready to use this library. Go back to the .java file and change the onModuleLoad code to this:
IButton button = new IButton(“say hello”);
button.addClickHandler(new ClickHandler(){public void onClick(ClickEvent event) {
SC.say(“oh, Hi there.”);
}
});
button.draw();
import the following on top:
import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.IButton;
import com.smartgwt.client.widgets.events.ClickEvent;
import com.smartgwt.client.widgets.events.ClickHandler;
and run.
Congrats on you first SmartGWT application!
Want to try more?
If you want to try other widgets you can go to http://www.smartclient.com/smartgwt/showcase/ and have a look at some examples and there source code.



Thanks for posting this tutorial. I’m sure many will find it useful.
Many thanks for a clear a concise introduction. It answered many issues I had – I was using Netbeans and the whole thing was a mess – but I am now converted to using Eclipse and Cypal. Much better!!
Again many thanks for taking the time to write this post.
Paul Whitehouse
nice post!
I wanted to thank you for posting this. I have been transitioning to this environment over the last couple of months and going through different examples using different libraries using Eclipse. Thanks a bunch.
Have you an toturial for CONFIGURATION and INSTALL ” smartGWT ” in ECLIPSE
with Screen printed (avec details).
A note for users of SmartGWT 1.0b2 and GWT 1.6 :
You’ll need to add the following in your host html file.
var isomorphicDir = “[MODULE_NAME]/sc/”;
Thanks a lot for the tip!
Previous comment ate the brackets. trying again :
<script>
var isomorphicDir = “[MODULE_NAME]/sc/”;
</script>
can you please tell me for what reason I have to add these lines.
In GWT 1.6 the war layout of the project has been changed. If you run the project it will not find the SmartGWT files (the link to there location isn’t the same anymore) so the skins won’t show. You can change the link to your sc directory by adding this line.
If your using GWT 1.5 this isn’t needed.
Thanks for the tip on getting SmartGWT 1.0b2 and GWT 1.6 to play well together!
Nice description. Thank you very much.
Muito bom seu tutorial….
When I follow these steps and run in the hosted mode (using GWT 1.6) and SmartGWT 1.1 I am getting 404 for all the Gif Images am I missing something ? Thanks
you need to add:
var isomorphicDir = “[MODULE_NAME]/sc/”;
to your html file as Sanjiv said.
Hi, I’m using SmartGWT 1.1 on GWT 1.6.4. I have followed the example and added lines
<script>var isomorphicDir = “[MODULE_NAME]/sc/”;</script>
replacing [MODULE_NAME] with:
- the fully qualified module name e.g. com.xyz.mytest.SmartGWTTest
- the value of the rename-to attribute in the .gwt.xml file, e.g. smartgwttest
- many other possible values
None of this have worked and I don’t get the images either in hosted mode or even deploying into Tomcat. Any ideas, please?
Solved: these script declaration must go before the declaration of .nocache.js
no semi-colon needed?
var isomorphicDir = “[MODULE_NAME]/sc/”
NOT:
var isomorphicDir = “[MODULE_NAME]/sc/”;
thanks!
I’ve tried’em all – maven2 and eclipse tutorials, netbeans tutorials,
this is the first to succeed
Thank you very much for this … you’ve made my day
Many thanks for this tutorial.
I almost give up.
But, lucky, there’s the answer on this tutorial.
Thanx
MODULE_NAME has to be in lowercase:
for example my module name is: MyModuleName
var isomorphicDir = “mymodulename/sc/”;
Hola Sanjiv: Mi pregunta es como poder trabajar con GWT e hibernate al mismo tiempo, he probado muchos ejemplos pero aun no me funciona.
Hello, I am new to GWT.
I have installed eclipse 3.5 and GWT plugin. I can run the helloworld application, next I want to run CRUD sample.
Can you upload some sample application, where in CRUD operations are performed? The downloadable .zip would really help.
thanks a lot
~Nix
I followed all the steps but when I ran it within eclipse, the hosted window popped up with empty and then hang.
Any idea? I am using gwt 1.6.x, eclipse 3.4, smartGWT 1.1
If your package is “de.foobar.gwt.helloworld.client”, then MODULE_NAME is “de_foobar_gwt_helloworld”. You can look for the sc folder in your eclipse workspace folder.
Regards from Germany!
The isomorphicDir variable gets ignored completely, even when it is declared before nocache.js. Regardless of what I write into it the requests for skin-images begin with “/sc/…” and end up with error:
[WARN] 404 – GET /sc/skins/Enterprise/images/blank.gif (127.0.0.1) 1422 bytes
UPDATE: My bad, I forgot to include the skins-package.
I am using GWT 1.7 with smartGwt 1.3 having problem where the skin ie images are not showing, I have done the suggested fix ie var isomorphicDir = “mymodulename/sc/” where mymodulename is a fully-qualified name.
Do I need to do something with the skin jar file or do I need to make anymore entries in the gwt.xml
Thanks
Success My fault Used modulename had an upper case and I made it a lowercase.
This works better that gwt-ext.
Thanks for the tutorial.
I have an issue when i build the project. An error is marked in the build/gwtoutput/myapp/sc/schema directory, but i can still compile and run it, do you have any idea what it is?
Thanks in advance.
Works like charm after adding the isomorphicDir variable to hosting html page.
Thanks a lot .It helped me a lot in understanding the SmartGWT
[...] why they don’t add a few lines into their Getting Started page. Yesterday I found obsolete SmartGWT setup tutorial – but it still works with only one thing missing. As someone mentioned in comments there, you [...]
It is working for me .
using spring source tool suite2.3(STS2.3),
with gwt2.0 and smartgwt2.0.
thanks.
This has taken me for freakin’ ever to get to work, color me stupid. In case someone else is having a hard time wrapping their mind around this whole theme image not loading thing here is what has thrown me off:
Say you’re coding your shiny new HelloEntryPoint.java in your package com.example so that your class ends up in com/example/HelloEntryPoint.class
then you need to set
var isomorphicDir = “com.example/sc/”
hope that helps someone out there …
I almost gave up as well until I find this page. I cannot believe that the SmartGWT site does not explain this stupid thing…
Hi,
I am still not able to set the skin to EnterpriseBlue even after setting -isomorphicDir. I have the Enterprise blu skin folder created in my WAR but am getting WARN: 404 – GET /sc/skins/standard/images/blank.gif
Wonder why it searches in Standard while my theme is set to Enterprise blue. my gwt xml has
com.smartgwt.SmartGwtNoTheme
com.smartclient.theme.enterpriseblue.
com.smartclient.theme.enterpriseblue.EnterpriseBlueResources
Hi All,
I too have a similar problem when I include SmartGwtNoTheme,EnterpriseBlue and EnterpriseBlueResources !!
Can anyone help me.
Bharathi,
Have you found a solution? If so please share with me
My Problem description:
I am running ‘ant war’ to create a war for my webapp deployment. With correct build.xml, classpath, JAVA_HOME, PATH settings I get the following error.
———–
[java] Loading inherited module ‘com.smartgwt.SmartGwtNoTheme’
[java] [ERROR] Unable to find ‘com/smartgwt/SmartGwtNoTheme.gwt.xml’ on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
———–
I lost one day for this “isomorphicDir” issue!
For me worked in the following way:
var isomorphicDir = “sc/”;
or
var isomorphicDir = “/[fullModuleName]/sc/”;
Hoping to be helpful!
Hi,
Check out this tutorial -> http://uptick.com.au/content/layout-user-interface
Good luck
Mark
Nice post this helped me to configure the SmartGWt in eclipse
Follow these simple steps:
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/SgwtEESetup.html
Hi all, I am developing a small scale app using smart-gwt 2.4. I have 2 pages in my app. Initially, the details that the user enters in page 1 is used to fetch data that has to be displayed in page 2 and from then on, any change that has to be made can be made in page 2 itself. If required, the user can navigate back to page 1. In that case, previously entered data should be populated.
1) Now, how do i navigate between pages. i have defined these pages as two separate modules. I wil need to pass data from page 1 to page 2. Is there an efficient way to do this?
2) In one of my pages i have defined two autocomplete combo boxes. data for one of the combo boxes will be fetched on load and the data for the second one depends on the value of the 1st combo box. I tried adding change and changed event listeners for the 1st combo box but both of the events are getting fired for every letter type. [once for C, A and T if im trying to search CAT. Tried setting setChangeOnKeypress(false) ] I need to fetch data once the user selects the full value ‘CAT’.
My project is getting opened in Developer Mode which asks me to install GWT Plugin in Browser.
How can I make it run in Hosted Mode ?
I am using the smartGWT showcase example and I have configured it properly in the Eclipse IDE. I can build it make changes to the existing java files and see the changes.
However now when I am trying to add a new java file for a different view I am getting following error:
“———————————————————————————”
Validating newly compiled units
[ERROR] Errors in ‘file:/C:/Users/I043152/GWT_workspace/Showcase/src/com/smartgwt/sample/showcase/client/data/ShowcaseData.java’
[ERROR] Line 26: No source code is available for type com.eduwave.academics.ManageClass.Factory; did you forget to inherit a required module?
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:139)
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:70)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processExpression(GenerateJavaAST.java:830)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:591)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessExpression(GenerateJavaAST.java:618)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.addCallArgs(GenerateJavaAST.java:2058)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processExpression(GenerateJavaAST.java:887)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:591)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessExpression(GenerateJavaAST.java:618)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processExpression(GenerateJavaAST.java:920)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:591)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessExpression(GenerateJavaAST.java:618)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processBinaryOperation(GenerateJavaAST.java:2633)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processExpression(GenerateJavaAST.java:961)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:591)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessExpression(GenerateJavaAST.java:618)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:648)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatements(GenerateJavaAST.java:1901)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatement(GenerateJavaAST.java:1591)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:591)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:654)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatement(GenerateJavaAST.java:1795)
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:591)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:654)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatements(GenerateJavaAST.java:1901)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processMethod(GenerateJavaAST.java:1561)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processType(GenerateJavaAST.java:510)
at com.google.gwt.dev.jjs.impl.GenerateJavaAST.exec(GenerateJavaAST.java:3100)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:568)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:538)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
at com.google.gwt.dev.Compiler.run(Compiler.java:215)
at com.google.gwt.dev.Compiler.run(Compiler.java:187)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:166)
[ERROR] : public static class com.eduwave.academics.ManageClass$Factory
extends java.lang.Object
implements : com.smartgwt.sample.showcase.client.PanelFactory
enclosing type : com.eduwave.academics.ManageClass
/* fields */
private [unresolved] java.lang.String id
/* methods */
public void ()
[unresolved] public com.smartgwt.client.widgets.Canvas create()
[unresolved] public java.lang.String getDescription()
[unresolved] public java.lang.String getID()
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
[ERROR] at ShowcaseData.java(26): new ManageClass.Factory()
org.eclipse.jdt.internal.compiler.ast.AllocationExpression
[ERROR] at ShowcaseData.java(26): new ExplorerTreeNode(“Overview”, “eduwave-current-overview”, “eduwave-academic-current”, “silk/chart_pie.png”, new ManageClass.Factory(), true, idSuffix)
org.eclipse.jdt.internal.compiler.ast.AllocationExpression
[ERROR] at ShowcaseData.java(22): new ExplorerTreeNode[]{new ExplorerTreeNode(“Academics”, “eduwave-academic”, “root”, “silk/rosette.png”, null, true, idSuffix), new ExplorerTreeNode(“Current Class”, “eduwave-academic-current”, “eduwave-academic”, “silk/award_star_gold_1.png”, null, true, idSuffix), new ExplorerTreeNode(“Overview”, “eduwave-current-overview”, “eduwave-academic-current”, “silk/chart_pie.png”, new ManageClass.Factory(), true, idSuffix), new ExplorerTreeNode(“Manage Class”, “eduwave-current-manage”, “eduwave-academic-current”, “silk/layout_edit.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Featured Samples”, “featured-category”, “root”, “silk/house.png”, null, true, idSuffix), new ExplorerTreeNode(“Demo Application”, “featured-complete-app”, “featured-category”, “silk/layout_content.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Smart GWT MVC”, “featured-smartgwt-mvc”, “featured-category”, “silk/arrow_join.png”, new TreeEditingSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Grid Cell Widgets”, “featured-grid-cell-widgets”, “featured-category”, null, new GridCellWidgetsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Miller Columns”, “featured-miller-columns”, “featured-category”, “silk/ipod.png”, new MillerColumnsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Nested Grid”, “featured-nested-grid”, “featured-category”, “crystal/16/mimetypes/widget_doc.png”, new GridRowExpansionRelatedRecordsSample.Factory(), true, idSuffix)}
org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression
[ERROR] at ShowcaseData.java(22): data = new ExplorerTreeNode[]{new ExplorerTreeNode(“Academics”, “eduwave-academic”, “root”, “silk/rosette.png”, null, true, idSuffix), new ExplorerTreeNode(“Current Class”, “eduwave-academic-current”, “eduwave-academic”, “silk/award_star_gold_1.png”, null, true, idSuffix), new ExplorerTreeNode(“Overview”, “eduwave-current-overview”, “eduwave-academic-current”, “silk/chart_pie.png”, new ManageClass.Factory(), true, idSuffix), new ExplorerTreeNode(“Manage Class”, “eduwave-current-manage”, “eduwave-academic-current”, “silk/layout_edit.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Featured Samples”, “featured-category”, “root”, “silk/house.png”, null, true, idSuffix), new ExplorerTreeNode(“Demo Application”, “featured-complete-app”, “featured-category”, “silk/layout_content.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Smart GWT MVC”, “featured-smartgwt-mvc”, “featured-category”, “silk/arrow_join.png”, new TreeEditingSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Grid Cell Widgets”, “featured-grid-cell-widgets”, “featured-category”, null, new GridCellWidgetsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Miller Columns”, “featured-miller-columns”, “featured-category”, “silk/ipod.png”, new MillerColumnsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Nested Grid”, “featured-nested-grid”, “featured-category”, “crystal/16/mimetypes/widget_doc.png”, new GridRowExpansionRelatedRecordsSample.Factory(), true, idSuffix)}
org.eclipse.jdt.internal.compiler.ast.Assignment
[ERROR] at ShowcaseData.java(21): {
data = new ExplorerTreeNode[]{new ExplorerTreeNode(“Academics”, “eduwave-academic”, “root”, “silk/rosette.png”, null, true, idSuffix), new ExplorerTreeNode(“Current Class”, “eduwave-academic-current”, “eduwave-academic”, “silk/award_star_gold_1.png”, null, true, idSuffix), new ExplorerTreeNode(“Overview”, “eduwave-current-overview”, “eduwave-academic-current”, “silk/chart_pie.png”, new ManageClass.Factory(), true, idSuffix), new ExplorerTreeNode(“Manage Class”, “eduwave-current-manage”, “eduwave-academic-current”, “silk/layout_edit.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Featured Samples”, “featured-category”, “root”, “silk/house.png”, null, true, idSuffix), new ExplorerTreeNode(“Demo Application”, “featured-complete-app”, “featured-category”, “silk/layout_content.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Smart GWT MVC”, “featured-smartgwt-mvc”, “featured-category”, “silk/arrow_join.png”, new TreeEditingSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Grid Cell Widgets”, “featured-grid-cell-widgets”, “featured-category”, null, new GridCellWidgetsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Miller Columns”, “featured-miller-columns”, “featured-category”, “silk/ipod.png”, new MillerColumnsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Nested Grid”, “featured-nested-grid”, “featured-category”, “crystal/16/mimetypes/widget_doc.png”, new GridRowExpansionRelatedRecordsSample.Factory(), true, idSuffix)};
}
org.eclipse.jdt.internal.compiler.ast.Block
[ERROR] at ShowcaseData.java(21): if ((data == null))
{
data = new ExplorerTreeNode[]{new ExplorerTreeNode(“Academics”, “eduwave-academic”, “root”, “silk/rosette.png”, null, true, idSuffix), new ExplorerTreeNode(“Current Class”, “eduwave-academic-current”, “eduwave-academic”, “silk/award_star_gold_1.png”, null, true, idSuffix), new ExplorerTreeNode(“Overview”, “eduwave-current-overview”, “eduwave-academic-current”, “silk/chart_pie.png”, new ManageClass.Factory(), true, idSuffix), new ExplorerTreeNode(“Manage Class”, “eduwave-current-manage”, “eduwave-academic-current”, “silk/layout_edit.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Featured Samples”, “featured-category”, “root”, “silk/house.png”, null, true, idSuffix), new ExplorerTreeNode(“Demo Application”, “featured-complete-app”, “featured-category”, “silk/layout_content.png”, new MiniAppSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Smart GWT MVC”, “featured-smartgwt-mvc”, “featured-category”, “silk/arrow_join.png”, new TreeEditingSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Grid Cell Widgets”, “featured-grid-cell-widgets”, “featured-category”, null, new GridCellWidgetsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Miller Columns”, “featured-miller-columns”, “featured-category”, “silk/ipod.png”, new MillerColumnsSample.Factory(), true, idSuffix), new ExplorerTreeNode(“Nested Grid”, “featured-nested-grid”, “featured-category”, “crystal/16/mimetypes/widget_doc.png”, new GridRowExpansionRelatedRecordsSample.Factory(), true, idSuffix)};
}
org.eclipse.jdt.internal.compiler.ast.IfStatement
[ERROR] at ShowcaseData.java(20): private ExplorerTreeNode[] getData();
com.google.gwt.dev.jjs.ast.JMethod
[ERROR] at ShowcaseData.java(10): class ShowcaseData extends Object
com.google.gwt.dev.jjs.ast.JClassType
*****************—————————————–*********************
Any idea on how I can fix this. Any help is highly appreciated.
Thanks and Regards
Pravesh