@Test public void testSetup() { doNothing().when(modal).superSetup(); doNothing().when(modal).setWidth(WIDTH); modal.setup(); verify(constraintRange).setModal(modal); verify(modal).superSetup(); verify(modal).setWidth(WIDTH); verify(view).init(modal); }
@PostConstruct public void setup() { superSetup(); setWidth(WIDTH); this.constraintRange.setModal(this); getView().init(this); }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); this.constraintRange.setModal(this); getView().init(this); } }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); this.constraintRange.setModal(this); getView().init(this); } @Inject  DataTypeConstraintModal(final View view,
                                   final DataTypeShortcuts dataTypeShortcuts,
                                   final DataTypeConstraintEnumeration constraintEnumeration,
                                   final DataTypeConstraintExpression constraintExpression,
                                   final DataTypeConstraintRange constraintRange); }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); this.constraintRange.setModal(this); getView().init(this); } @Inject  DataTypeConstraintModal(final View view,
                                   final DataTypeShortcuts dataTypeShortcuts,
                                   final DataTypeConstraintEnumeration constraintEnumeration,
                                   final DataTypeConstraintExpression constraintExpression,
                                   final DataTypeConstraintRange constraintRange); @PostConstruct void setup(); void save(); void show(final BiConsumer<String, ConstraintType> onSaveConsumer); @Override void hide(); void enableOkButton(); void disableOkButton(); }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); this.constraintRange.setModal(this); getView().init(this); } @Inject  DataTypeConstraintModal(final View view,
                                   final DataTypeShortcuts dataTypeShortcuts,
                                   final DataTypeConstraintEnumeration constraintEnumeration,
                                   final DataTypeConstraintExpression constraintExpression,
                                   final DataTypeConstraintRange constraintRange); @PostConstruct void setup(); void save(); void show(final BiConsumer<String, ConstraintType> onSaveConsumer); @Override void hide(); void enableOkButton(); void disableOkButton();  }