I need to expose an enum java type in the client side, is this
possible to do without a proxy?

I tried with:

package com.foo.client.managed.activity;

public class DeviceEditActivityWrapper implements Activity{

  public interface View<V extends ProxyEditView<DeviceProxy, V>>
extends ProxyEditView<DeviceProxy, V> {
      void setTypePickerValues(Collection<Type> values);
  }
...
  public void start(AcceptsOneWidget display, EventBus eventBus) {
    view.setTypePickerValues(Arrays.asList(Type.values()));
    wrapped.start(display, eventBus);
  }

}

But this throw a error because the Type class is located server
package inside.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to