Pregunta

Is it possible to detect if a ui binder template is being generated in eclipse by the GWT Designer or being generated at runtime mode?

I would like to create a ui to display an data object and thus need to be able to generate one when running in eclipse.

Otros consejos

Function:

if(GWT.isProdMode()){... }

JavaDoc:

GWT.isProdMode() Returns true when running in production mode. Returns false when running either in development mode, or when running in a plain JVM.

Regards, Stefan

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top