Currently we are using the following to detect when in "SDM" mode:

private static Boolean isSdm = null;
    public static boolean isSdm() {
        if (isSdm==null) {
            isSdm=false;
            GWT.log("SDM MODE: "+(isSdm=true)); // only compiles and runs when SDM is active
        }
        return isSdm;
    }

Is there a better way?

--
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to