@Test public void testOnProviderSelected() { presenter.onProviderSelected(new ProviderSelectedEvent(mock(ProviderKey.class))); verify(view, times(1)).setContent(providerPresenterView); }
protected void onProviderSelected(@Observes final ProviderSelectedEvent event) { if (event.getProviderKey() != null) { this.view.setContent(providerPresenter.getView()); } }
ProvisioningManagementBrowserPresenter { protected void onProviderSelected(@Observes final ProviderSelectedEvent event) { if (event.getProviderKey() != null) { this.view.setContent(providerPresenter.getView()); } } }
ProvisioningManagementBrowserPresenter { protected void onProviderSelected(@Observes final ProviderSelectedEvent event) { if (event.getProviderKey() != null) { this.view.setContent(providerPresenter.getView()); } } @Inject  ProvisioningManagementBrowserPresenter(final ProvisioningManagementBrowserPresenter.View view,
                                                  final ProviderTypeNavigationPresenter providerTypeNavigationPresenter,
                                                  final ProviderTypePresenter providerTypePresenter,
                                                  final ProviderTypeEmptyPresenter providerTypeEmptyPresenter,
                                                  final ProviderEmptyPresenter providerEmptyPresenter,
                                                  final ProviderPresenter providerPresenter,
                                                  final Caller<ProviderTypeService> providerTypeService,
                                                  final Caller<ProvisioningScreensService> provisioningScreensService,
                                                  final Event<ProviderTypeSelectedEvent> providerTypeSelectedEvent); }
ProvisioningManagementBrowserPresenter { protected void onProviderSelected(@Observes final ProviderSelectedEvent event) { if (event.getProviderKey() != null) { this.view.setContent(providerPresenter.getView()); } } @Inject  ProvisioningManagementBrowserPresenter(final ProvisioningManagementBrowserPresenter.View view,
                                                  final ProviderTypeNavigationPresenter providerTypeNavigationPresenter,
                                                  final ProviderTypePresenter providerTypePresenter,
                                                  final ProviderTypeEmptyPresenter providerTypeEmptyPresenter,
                                                  final ProviderEmptyPresenter providerEmptyPresenter,
                                                  final ProviderPresenter providerPresenter,
                                                  final Caller<ProviderTypeService> providerTypeService,
                                                  final Caller<ProvisioningScreensService> provisioningScreensService,
                                                  final Event<ProviderTypeSelectedEvent> providerTypeSelectedEvent); @PostConstruct void init(); @OnOpen void onOpen(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsElement getView(); }
ProvisioningManagementBrowserPresenter { protected void onProviderSelected(@Observes final ProviderSelectedEvent event) { if (event.getProviderKey() != null) { this.view.setContent(providerPresenter.getView()); } } @Inject  ProvisioningManagementBrowserPresenter(final ProvisioningManagementBrowserPresenter.View view,
                                                  final ProviderTypeNavigationPresenter providerTypeNavigationPresenter,
                                                  final ProviderTypePresenter providerTypePresenter,
                                                  final ProviderTypeEmptyPresenter providerTypeEmptyPresenter,
                                                  final ProviderEmptyPresenter providerEmptyPresenter,
                                                  final ProviderPresenter providerPresenter,
                                                  final Caller<ProviderTypeService> providerTypeService,
                                                  final Caller<ProvisioningScreensService> provisioningScreensService,
                                                  final Event<ProviderTypeSelectedEvent> providerTypeSelectedEvent); @PostConstruct void init(); @OnOpen void onOpen(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsElement getView(); static final String IDENTIFIER; }