setWidgetVisible(searchResultsView, false);
setWidgetVisible(translationView, true);</BUG>
break;
<BUG>}
}
private void setWidgetVisible(Widget widget, boolean visible)
{
if (visible)
{
editorContainer.setWidgetTopBottom(widget, 0, Unit.PX, 0, Unit.PX);
}
else
{
editorContainer.setWidgetTopHeight(widget, 0, Unit.PX, 0, Unit.PX);</BUG>
}

@Override
public Widget asWidget()
{
return this;
