1

RevealRootLayoutContentEvent我昨天才听说。我不知道如何在 GWTP 中使用它。

好的,我在 eClipse 上使用 GWTP 来创建演示者,如下图所示 在此处输入图像描述

我们首先需要RevealRootLayoutContentEvent在创建Presenter的时候选择,eClipse会生成一些文件,那么接下来要做什么呢?

谁能给我一个非常简单的例子来说明如何RevealRootLayoutContentEvent在 GWTP 中使用?

4

1 回答 1

2

阅读 http://www.gwtproject.org/doc/latest/DevGuideUiPanels.html#LayoutPanels

如果您使用 RevealRootLayoutContentEvent,您的应用程序将被放入RootLayoutPanel中。在这种情况下,您应该避免使用 no-"...Layout..." 面板。

如果您使用 RevealRootContentEvent将使用RootPanel 。

于 2013-10-07T21:17:36.237 回答