@Test public void testInitialization() { presenter.init(LINECHART, SMOOTH); verify(typeView).select(LINECHART); }
public void init(DisplayerType selectedType, DisplayerSubType selectedSubtype) { this.selectedType = selectedType; view.select(selectedType); subtypeSelector.init(selectedType, selectedSubtype); }
DisplayerTypeSelector implements IsWidget { public void init(DisplayerType selectedType, DisplayerSubType selectedSubtype) { this.selectedType = selectedType; view.select(selectedType); subtypeSelector.init(selectedType, selectedSubtype); } }
DisplayerTypeSelector implements IsWidget { public void init(DisplayerType selectedType, DisplayerSubType selectedSubtype) { this.selectedType = selectedType; view.select(selectedType); subtypeSelector.init(selectedType, selectedSubtype); } @Inject  DisplayerTypeSelector(View view,
                                 DisplayerSubtypeSelector subtypeSelector,
                                 Event<DisplayerTypeSelectedEvent> typeSelectedEvent); }
DisplayerTypeSelector implements IsWidget { public void init(DisplayerType selectedType, DisplayerSubType selectedSubtype) { this.selectedType = selectedType; view.select(selectedType); subtypeSelector.init(selectedType, selectedSubtype); } @Inject  DisplayerTypeSelector(View view,
                                 DisplayerSubtypeSelector subtypeSelector,
                                 Event<DisplayerTypeSelectedEvent> typeSelectedEvent); @Override Widget asWidget(); DisplayerType getSelectedType(); DisplayerSubType getSelectedSubType(); DisplayerSubtypeSelector getSubtypeSelector(); void init(DisplayerType selectedType, DisplayerSubType selectedSubtype); }
DisplayerTypeSelector implements IsWidget { public void init(DisplayerType selectedType, DisplayerSubType selectedSubtype) { this.selectedType = selectedType; view.select(selectedType); subtypeSelector.init(selectedType, selectedSubtype); } @Inject  DisplayerTypeSelector(View view,
                                 DisplayerSubtypeSelector subtypeSelector,
                                 Event<DisplayerTypeSelectedEvent> typeSelectedEvent); @Override Widget asWidget(); DisplayerType getSelectedType(); DisplayerSubType getSelectedSubType(); DisplayerSubtypeSelector getSubtypeSelector(); void init(DisplayerType selectedType, DisplayerSubType selectedSubtype);  }