Question

I have been pouring over the GWT Designer Quick Start documentation and for the life of me I can't find where it tells you how to actually open the designer inside Eclipse.

I have used Eclipse to create an EntryPoint subclass but can't seem to figure out how to open it in the GWT Designer. Is this the wrong type of file to open inside the designer? Either way, specific instructions as to how to do this are greatly appreciated! Thanks in advance!

Edit - this is a GWT/GAE application, so I have to create a new Web Application Project (that handles both GWT and GAE dependencies, resources & file structure) and then open the GWT Designer from a file inside that project. So for instance the Create New (Web Application) Project wizard created a GWT- and GAE-compliant project with an EntryPoint subclass called MyFirstGWTApp. I'd like to open this in GWT Designer somehow.

Was it helpful?

Solution

While using eclipse:

  1. Open Eclipse
  2. Go To Help-->Install New Software
  3. Enter ther site for your eclipse version i.e. http://dl.google.com/eclipse/plugin/3.7 for version 3.7
  4. Select the sdk
  5. Install the Designer from this location http://dl.google.com/eclipse/inst/d2gwt/latest/3.7 in the same way
  6. Make a new Gwt project
  7. By right clicking on a class file inheriting the Composite Class you will be able to open it with Gwt Designer (Open With--> Gwt Designer)
  8. If you still see the code, then on the bottom left of the code file you will see the option to open the designer.

OTHER TIPS

It should be used for individual independent gui classes (not entry point). Try creating a single class (.java) which inherits from Horizontal panel, has an default constructor(no parameters). Open this by right click -> gwt designer. This should open the designer for you. Now drag a few items in it and view the result. If this doesn't work then you probably installed the plugin wrong.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top