sovanlandy
sovanlandy

Reputation: 1700

GWTP Nested Presenter : Type<RevealContentHandler<?>> Cannot be resolved

I'm trying to make the nested presenter in GWT. I've been "copy & paste" code from the sample GWTP project @http://code.google.com/p/gwt-platform/wiki/SimpleNestedSample

At one point the code

@ContentSlot
public static final Type<RevealContentHandler<?>> contentSlot = new   Type<RevealContentHandler<?>>();

gave me error and i am not able to find which package to import by eclipse suggestion to resolve error by Type. (Been trying all the possible "Type" packages by eclipse suggestion such as import com.google.gwt.i18n.server.Type; import com.google.gwt.dev.asm.Type; import com.sun.tools.javac.code.Type;

)

Can anyone tell what package to import?

Upvotes: 1

Views: 476

Answers (1)

Sydney
Sydney

Reputation: 12212

import com.google.gwt.event.shared.GwtEvent.Type;

Upvotes: 1

Related Questions