@Test public void testSaveNonClashingGAV() { presenter.save(comment); verify(service, times(1)).save(any(ObservablePath.class), eq(pomXml), any(Metadata.class), eq(comment), eq(DeploymentMode.VALIDATED)); verify(view, times(1)).showBusyIndicator(eq(CommonConstants.INSTANCE.Saving())); verify(view, times(1)).hideBusyIndicator(); }
@Override protected void save(final String commitMessage) { doSave(commitMessage, VALIDATED); }
PomEditor extends KieTextEditorPresenter { @Override protected void save(final String commitMessage) { doSave(commitMessage, VALIDATED); } }
PomEditor extends KieTextEditorPresenter { @Override protected void save(final String commitMessage) { doSave(commitMessage, VALIDATED); } @Inject  PomEditor(final KieTextEditorView baseView,
                     final Caller<PomEditorService> pomEditorService,
                     final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                     final Event<NotificationEvent> notificationEvent,
                     final TranslationService translationService); }
PomEditor extends KieTextEditorPresenter { @Override protected void save(final String commitMessage) { doSave(commitMessage, VALIDATED); } @Inject  PomEditor(final KieTextEditorView baseView,
                     final Caller<PomEditorService> pomEditorService,
                     final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                     final Event<NotificationEvent> notificationEvent,
                     final TranslationService translationService); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartView IsWidget asWidget(); @Override AceEditorMode getAceEditorMode(); }
PomEditor extends KieTextEditorPresenter { @Override protected void save(final String commitMessage) { doSave(commitMessage, VALIDATED); } @Inject  PomEditor(final KieTextEditorView baseView,
                     final Caller<PomEditorService> pomEditorService,
                     final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                     final Event<NotificationEvent> notificationEvent,
                     final TranslationService translationService); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartView IsWidget asWidget(); @Override AceEditorMode getAceEditorMode(); static final String EDITOR_ID; final Event<NotificationEvent> notificationEvent; final TranslationService translationService; }