How to use RevealRootLayoutContentEvent for designing of the GWT 2.0 layout system in GWTP?

StackOverflow https://stackoverflow.com/questions/19139864

Domanda

I have just heard about RevealRootLayoutContentEvent yesterday. I have no idea of how to use it whatsoever in GWTP.

Ok, i am using GWTP on eClipse to crease a presenter like the following picture enter image description here

We first need to select RevealRootLayoutContentEvent when create the Presenter, eClipse will generate some file, then what to do next?

Can anyone give me an a very simple example of how to use RevealRootLayoutContentEvent in GWTP?

È stato utile?

Soluzione

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

If you use RevealRootLayoutContentEvent your application will be put inside RootLayoutPanel. In this case you should avoid using no-"...Layout..." panels.

If you use RevealRootContentEvent RootPanel will be used.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top