0

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.

4

2 回答 2

1

它应该用于单独的独立 gui 类(不是入口点)。尝试创建一个继承自水平面板的单个类(.java),具有默认构造函数(无参数)。右键单击-> gwt 设计器打开它。这应该会为您打开设计器。现在在其中拖动一些项目并查看结果。如果这不起作用,那么您可能安装了错误的插件。

于 2012-10-15T06:34:27.077 回答
1

使用日食时:

  1. 打开日食
  2. 转到帮助->安装新软件
  3. 输入您的 Eclipse 版本的站点,即http://dl.google.com/eclipse/plugin/3.7版本 3.7
  4. 选择SDK
  5. 以相同的方式从该位置http://dl.google.com/eclipse/inst/d2gwt/latest/3.7安装 Designer
  6. 新建一个 Gwt 项目
  7. 通过右键单击继承复合类的类文件,您将能够使用 Gwt Designer 打开它(打开方式--> Gwt Designer)
  8. 如果您仍然看到代码,那么在代码文件的左下方,您将看到打开设计器的选项。
于 2012-10-15T07:24:43.203 回答