1 /*******************************************************************************
2 * Copyhacked (H) 2012-2025.
3 * This program and the accompanying materials
4 * are made available under no term at all, use it like
5 * you want, but share and discuss it
6 * every time possible with every body.
7 *
8 * Contributors:
9 * ron190 at ymail dot com - initial implementation
10 ******************************************************************************/
11 package com.jsql.view.swing.interaction;
12
13 import com.jsql.view.interaction.InteractionCommand;
14 import com.jsql.view.swing.util.MediatorHelper;
15
16 /**
17 * End the refreshing of the main Start injection button.
18 */
19 public class EndPreparation implements InteractionCommand {
20
21 public EndPreparation(Object[] interactionParams) {
22 // Do nothing
23 }
24
25 @Override
26 public void execute() {
27 MediatorHelper.panelAddressBar().getPanelTrailingAddress().endPreparation();
28 if (MediatorHelper.model().shouldErasePreviousInjection()) {
29 MediatorHelper.tabManagersCards().endPreparation();
30 }
31 }
32 }