@Test public void onOpenTest() { doReturn(promises.resolve()).when(archetypeTablePresenter).setup(eq(false), any()); presenter.onOpen(); verify(archetypeTablePresenter).setup(eq(false), any()); }
@OnOpen public void onOpen() { loadScreen(); }
ArchetypeManagementScreenPresenter { @OnOpen public void onOpen() { loadScreen(); } }
ArchetypeManagementScreenPresenter { @OnOpen public void onOpen() { loadScreen(); } @Inject  ArchetypeManagementScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final Event<NotificationEvent> notificationEvent,
                                              final ArchetypeTablePresenter archetypeTablePresenter,
                                              final Promises promises); }
ArchetypeManagementScreenPresenter { @OnOpen public void onOpen() { loadScreen(); } @Inject  ArchetypeManagementScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final Event<NotificationEvent> notificationEvent,
                                              final ArchetypeTablePresenter archetypeTablePresenter,
                                              final Promises promises); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView View getView(); @OnOpen void onOpen(); @OnClose void onClose(); void onArchetypeListUpdatedEvent(@Observes final ArchetypeListUpdatedEvent event); void notifyListUpdated(final ArchetypeListOperation operation); }
ArchetypeManagementScreenPresenter { @OnOpen public void onOpen() { loadScreen(); } @Inject  ArchetypeManagementScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final Event<NotificationEvent> notificationEvent,
                                              final ArchetypeTablePresenter archetypeTablePresenter,
                                              final Promises promises); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView View getView(); @OnOpen void onOpen(); @OnClose void onClose(); void onArchetypeListUpdatedEvent(@Observes final ArchetypeListUpdatedEvent event); void notifyListUpdated(final ArchetypeListOperation operation); static final String IDENTIFIER; }