@Test public void warningShownOnInvalidFileName() { view.setValidBaseFileName( false ); verify( view.baseFileNameHelp ).setVisible( true ); verify( view.baseFileNameContainer ).addStyleName( ValidationState.ERROR.getCssName() ); }
@Override public void setValidBaseFileName(final boolean isValid) { if (isValid) { baseFileNameHelp.setVisible(false); baseFileNameContainer.removeStyleName(ValidationState.ERROR.getCssName()); } else { baseFileNameHelp.setVisible(true); baseFileNameContainer.addStyleName(ValidationState.ERROR.getCssName()); } }
SummaryPageViewImpl extends Composite implements
        SummaryPageView { @Override public void setValidBaseFileName(final boolean isValid) { if (isValid) { baseFileNameHelp.setVisible(false); baseFileNameContainer.removeStyleName(ValidationState.ERROR.getCssName()); } else { baseFileNameHelp.setVisible(true); baseFileNameContainer.addStyleName(ValidationState.ERROR.getCssName()); } } }
SummaryPageViewImpl extends Composite implements
        SummaryPageView { @Override public void setValidBaseFileName(final boolean isValid) { if (isValid) { baseFileNameHelp.setVisible(false); baseFileNameContainer.removeStyleName(ValidationState.ERROR.getCssName()); } else { baseFileNameHelp.setVisible(true); baseFileNameContainer.addStyleName(ValidationState.ERROR.getCssName()); } } SummaryPageViewImpl(); }
SummaryPageViewImpl extends Composite implements
        SummaryPageView { @Override public void setValidBaseFileName(final boolean isValid) { if (isValid) { baseFileNameHelp.setVisible(false); baseFileNameContainer.removeStyleName(ValidationState.ERROR.getCssName()); } else { baseFileNameHelp.setVisible(true); baseFileNameContainer.addStyleName(ValidationState.ERROR.getCssName()); } } SummaryPageViewImpl(); @Override void init(final SummaryPageView.Presenter presenter); @Override String getBaseFileName(); @Override void setBaseFileName(final String baseFileName); @Override void setValidBaseFileName(final boolean isValid); @Override void setContextPath(final Path contextPath); @Override void setTableFormat(final GuidedDecisionTable52.TableFormat tableFormat); @Override void setHitPolicy(final GuidedDecisionTable52.HitPolicy hitPolicy); }
SummaryPageViewImpl extends Composite implements
        SummaryPageView { @Override public void setValidBaseFileName(final boolean isValid) { if (isValid) { baseFileNameHelp.setVisible(false); baseFileNameContainer.removeStyleName(ValidationState.ERROR.getCssName()); } else { baseFileNameHelp.setVisible(true); baseFileNameContainer.addStyleName(ValidationState.ERROR.getCssName()); } } SummaryPageViewImpl(); @Override void init(final SummaryPageView.Presenter presenter); @Override String getBaseFileName(); @Override void setBaseFileName(final String baseFileName); @Override void setValidBaseFileName(final boolean isValid); @Override void setContextPath(final Path contextPath); @Override void setTableFormat(final GuidedDecisionTable52.TableFormat tableFormat); @Override void setHitPolicy(final GuidedDecisionTable52.HitPolicy hitPolicy);  }