Question

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top