mgwt/mgwt — pull request #216 by ankon (2014-10-30 09:25:05+00:00)
Title: Add HasText to the implemented interfaces of MValueBoxBase

This restores compatibility with GWT 2.6, where HasText came from AutoDirectionHandler.Target.

Note that this reverts 3fd1752fb34429f43637fc29c577d1a75a1d6f7a again.

GWT commit 63a0336368c7439f1fb55563f507d7e232ee3360 readded the #setText() method in AutoDirectionHandler.Target, so 3fd1752fb34429f43637fc29c577d1a75a1d6f7a is no longer needed.
~~~~
Author: Colin Alworth
Date: Fri Oct 10 17:16:16 2014 -0500

Fixed API break in AutoDirectionHandler.Target

As part of the GWT module breakup for modular compilation, the I18n
module was updated to not depend on User. This involved changing
AutoDirectionHandler.Target to no longer depend on HasText. While
the getText() method was added in the initial patch, this left
Target subclasses with an @Override'd setText broken. This patch
allows implementors of Target that are compatible with GWT <=2.6 to
build with 2.7.

See fc1babac93730ec48fe5d56d6c22b3657db9e68a for the original change.

Change-Id: I7f3e62b590153dd3fd4a9de89c2b7b05628bb260

~~~~

But still that change doesn't fix the part of changed interfaces here, previously the various input boxes such as MEmailTextBox would implement HasText, and now they don't. As MValueBoxBase should mirror ValueBoxBase, and that one has HasText explicitly it seems easiest to just do that here as well.