@Test public void testEnableIncludeButton() { includeButton.disabled = true; view.enableIncludeButton(); assertFalse(includeButton.disabled); }
@Override public void enableIncludeButton() { includeButton.disabled = false; }
IncludedModelModalView implements IncludedModelModal.View { @Override public void enableIncludeButton() { includeButton.disabled = false; } }
IncludedModelModalView implements IncludedModelModal.View { @Override public void enableIncludeButton() { includeButton.disabled = false; } @Inject  IncludedModelModalView(final HTMLDivElement header,
                                  final HTMLDivElement body,
                                  final HTMLDivElement footer,
                                  final HTMLDivElement dropdown,
                                  final HTMLInputElement modelNameInput,
                                  final HTMLButtonElement includeButton,
                                  final HTMLButtonElement cancelButton); }
IncludedModelModalView implements IncludedModelModal.View { @Override public void enableIncludeButton() { includeButton.disabled = false; } @Inject  IncludedModelModalView(final HTMLDivElement header,
                                  final HTMLDivElement body,
                                  final HTMLDivElement footer,
                                  final HTMLDivElement dropdown,
                                  final HTMLInputElement modelNameInput,
                                  final HTMLButtonElement includeButton,
                                  final HTMLButtonElement cancelButton); @Override void init(final IncludedModelModal presenter); @Override void initialize(); @Override String getHeader(); @Override HTMLElement getBody(); @Override HTMLElement getFooter(); @Override String getModelNameInput(); @Override void setupAssetsDropdown(final HTMLElement dropdownElement); @Override void disableIncludeButton(); @Override void enableIncludeButton(); @EventHandler("model-name") void onModelNameInputChanged(final KeyUpEvent e); @EventHandler("include") void onIncludeButtonClick(final ClickEvent e); @EventHandler("cancel") void onCancelButtonClick(final ClickEvent e); }
IncludedModelModalView implements IncludedModelModal.View { @Override public void enableIncludeButton() { includeButton.disabled = false; } @Inject  IncludedModelModalView(final HTMLDivElement header,
                                  final HTMLDivElement body,
                                  final HTMLDivElement footer,
                                  final HTMLDivElement dropdown,
                                  final HTMLInputElement modelNameInput,
                                  final HTMLButtonElement includeButton,
                                  final HTMLButtonElement cancelButton); @Override void init(final IncludedModelModal presenter); @Override void initialize(); @Override String getHeader(); @Override HTMLElement getBody(); @Override HTMLElement getFooter(); @Override String getModelNameInput(); @Override void setupAssetsDropdown(final HTMLElement dropdownElement); @Override void disableIncludeButton(); @Override void enableIncludeButton(); @EventHandler("model-name") void onModelNameInputChanged(final KeyUpEvent e); @EventHandler("include") void onIncludeButtonClick(final ClickEvent e); @EventHandler("cancel") void onCancelButtonClick(final ClickEvent e);  }