用于智能 GWT 的 Eclipse 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5362260/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:01:23  来源:igfitidea点击:

Eclipse plugin for Smart GWT

eclipseeclipse-pluginsmartgwt

提问by Sanju

How cann I create "Hello world Application" in Eclipse using Smart GWT?

如何使用 Smart GWT 在 Eclipse 中创建“Hello world 应用程序”?

Is there any plug in for Eclipse for Smart GWT? If yes then how can we install it?

是否有适用于 Smart GWT 的 Eclipse 插件?如果是,那么我们如何安装它?

回答by Bartzilla

This tutorialwas very useful to get me started with smartGWT. It presents a small guide in setting up eclipse to program SmartGWT and how to make a small first project.

教程对我开始使用 smartGWT 非常有用。它提供了设置 eclipse 以对 SmartGWT 进行编程以及如何制作小型第一个项目的小指南。

回答by Marthinus

Just replace the original GWT events with:

只需将原始 GWT 事件替换为:

import com.smartgwt.client.widgets.events.ClickEvent;
import com.smartgwt.client.widgets.events.ClickHandler;

I found that I had to run IE 9.0 in compatibility mode to have the button working, it works fine in Chrome though, so hopefully they will sort this out soon.

我发现我必须在兼容模式下运行 IE 9.0 才能使按钮工作,但它在 Chrome 中运行良好,所以希望他们能尽快解决这个问题。