detecting mode of gwt designer (design mode or runtime)
-
08-03-2021 - |
Domanda
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.
Altri suggerimenti
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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow