1 | /******************************************************************************* | |
2 | * Copyhacked (H) 2012-2020. | |
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 about 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.model.bean.database.AbstractElementDatabase; | |
14 | import com.jsql.view.interaction.InteractionCommand; | |
15 | import com.jsql.view.swing.util.MediatorHelper; | |
16 | ||
17 | /** | |
18 | * Start refreshing the progress bar of an element in the database tree. | |
19 | * Progression is not tracked (like column search). | |
20 | */ | |
21 | public class StartIndeterminateProgress implements InteractionCommand { | |
22 | | |
23 | /** | |
24 | * The element in the database tree for which the progress starts. | |
25 | */ | |
26 | private final AbstractElementDatabase dataElementDatabase; | |
27 | ||
28 | /** | |
29 | * @param interactionParams Element in the database tree to update | |
30 | */ | |
31 | public StartIndeterminateProgress(Object[] interactionParams) { | |
32 | this.dataElementDatabase = (AbstractElementDatabase) interactionParams[0]; | |
33 | } | |
34 | ||
35 | @Override | |
36 | public void execute() { | |
37 |
1
1. execute : removed call to com/jsql/view/swing/tree/TreeDatabase::startIndeterminateProgress → NO_COVERAGE |
MediatorHelper.treeDatabase().startIndeterminateProgress(this.dataElementDatabase); |
38 | } | |
39 | } | |
Mutations | ||
37 |
1.1 |