@Test public void testSetup() { final HTMLElement htmlElement = mock(HTMLElement.class); doReturn(htmlElement).when(modal).getInitializedDropdownElement(); doNothing().when(modal).superSetup(); doNothing().when(modal).setWidth(WIDTH); modal.setup(); verify(modal).superSetup(); verify(modal).setWidth(WIDTH); verify(view).init(modal); verify(view).setupAssetsDropdown(htmlElement); }
@PostConstruct public void setup() { superSetup(); setWidth(WIDTH); getView().init(this); getView().setupAssetsDropdown(getInitializedDropdownElement()); }
IncludedModelModal extends Elemental2Modal<IncludedModelModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); getView().init(this); getView().setupAssetsDropdown(getInitializedDropdownElement()); } }
IncludedModelModal extends Elemental2Modal<IncludedModelModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); getView().init(this); getView().setupAssetsDropdown(getInitializedDropdownElement()); } @Inject  IncludedModelModal(final View view,
                              final DMNAssetsDropdown dropdown,
                              final ImportRecordEngine recordEngine,
                              final DMNIncludeModelsClient client,
                              final Event<RefreshDataTypesListEvent> refreshDataTypesListEvent,
                              final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); }
IncludedModelModal extends Elemental2Modal<IncludedModelModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); getView().init(this); getView().setupAssetsDropdown(getInitializedDropdownElement()); } @Inject  IncludedModelModal(final View view,
                              final DMNAssetsDropdown dropdown,
                              final ImportRecordEngine recordEngine,
                              final DMNIncludeModelsClient client,
                              final Event<RefreshDataTypesListEvent> refreshDataTypesListEvent,
                              final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); @PostConstruct void setup(); void init(final IncludedModelsPagePresenter grid); @Override void show(); void include(); @Override void hide(); }
IncludedModelModal extends Elemental2Modal<IncludedModelModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); getView().init(this); getView().setupAssetsDropdown(getInitializedDropdownElement()); } @Inject  IncludedModelModal(final View view,
                              final DMNAssetsDropdown dropdown,
                              final ImportRecordEngine recordEngine,
                              final DMNIncludeModelsClient client,
                              final Event<RefreshDataTypesListEvent> refreshDataTypesListEvent,
                              final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); @PostConstruct void setup(); void init(final IncludedModelsPagePresenter grid); @Override void show(); void include(); @Override void hide();  }