Hi,
I am running into Java compilation issues.
Example:
public class LoginPresenter {
public interface Display {
<T extends HasValue<String> & HasBlurHandlers> T
getUsernameTextBox
();
HasValue<String> getPasswordTextBox();
HasValue<String> getErrorMessageBox();
HasClickHandlers getLoginButton();
}
// ...
}
While I can define a Display that returns a TextBox, I can't use the
getUsernameTextBox without doing the assignment type inference against
a concrete something implementing both interfaces in my presenter.
How do you handle this?
brgds,
Papick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---