////////////////////////////////////////////////////////////////////////////
@Override
protected boolean validateSelection() {
IJavaProject javaProject = getJavaProject();
if (javaProject == null || !UiBinderParser.hasUiBinderSupport(javaProject)) {
addPage(new ErrorMessageWizardPage("Wrong GWT version.",
"You need at least GWT 2.1M4 for UiBinder visual editing."));
return false;
}
return super.validateSelection();
}