Skip to content

Commit 62502b6

Browse files
committed
Refactor GUI package
1 parent f5fa308 commit 62502b6

24 files changed

Lines changed: 49 additions & 70 deletions

src/main/java/fr/igred/nucleus/NucleusJ.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import fr.igred.nucleus.cli.CLIHelper;
2323
import fr.igred.nucleus.cli.CLIRunAction;
2424
import fr.igred.nucleus.cli.CLIRunActionOMERO;
25-
import fr.igred.nucleus.dialogs.MainGui;
25+
import fr.igred.nucleus.gui.MainGui;
2626
import fr.igred.omero.exception.AccessException;
2727
import fr.igred.omero.exception.OMEROServerError;
2828
import fr.igred.omero.exception.ServiceException;

src/main/java/fr/igred/nucleus/core/ChromocentersEnhancement.java renamed to src/main/java/fr/igred/nucleus/core/ChromocenterEnhancement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
*
3939
* @author Tristan Dubos and Axel Poulet
4040
*/
41-
public final class ChromocentersEnhancement {
41+
public final class ChromocenterEnhancement {
4242
/** Logger */
4343
private static final Logger LOGGER = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
4444

4545

4646
/** Private constructor to prevent instantiation */
47-
private ChromocentersEnhancement() {
47+
private ChromocenterEnhancement() {
4848
// This class should not be instantiated
4949
}
5050

src/main/java/fr/igred/nucleus/dialogs/package-info.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/main/java/fr/igred/nucleus/dialogs/AutocropConfigDialog.java renamed to src/main/java/fr/igred/nucleus/gui/AutocropConfigDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import javax.swing.BorderFactory;
2121
import javax.swing.Box;

src/main/java/fr/igred/nucleus/dialogs/AutocropDialog.java renamed to src/main/java/fr/igred/nucleus/gui/AutocropDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import fr.igred.nucleus.Version;
2121
import fr.igred.omero.exception.AccessException;

src/main/java/fr/igred/nucleus/dialogs/ChromocentersAnalysisPipelineBatchDialog.java renamed to src/main/java/fr/igred/nucleus/gui/ChromocenterAnalysisDialog.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import fr.igred.omero.exception.AccessException;
2121
import fr.igred.omero.exception.ServiceException;
@@ -57,7 +57,7 @@
5757
*
5858
* @author pouletaxel
5959
*/
60-
public class ChromocentersAnalysisPipelineBatchDialog extends JFrame implements ItemListener {
60+
public class ChromocenterAnalysisDialog extends JFrame implements ItemListener {
6161
private static final long serialVersionUID = 896147828956284745L;
6262
private final JTextField jTextFieldWorkDirectory = new JTextField();
6363
private final JTextField jTextFieldRawData = new JTextField();
@@ -106,7 +106,7 @@ public class ChromocentersAnalysisPipelineBatchDialog extends JFrame implements
106106

107107

108108
/** Architecture of the graphical windows */
109-
public ChromocentersAnalysisPipelineBatchDialog(IDialogListener dialogListener) {
109+
public ChromocenterAnalysisDialog(IDialogListener dialogListener) {
110110
final String font = "Albertus";
111111
container = super.getContentPane();
112112
JLabel jLabelWorkDirectory = new JLabel("Work directory and data directory choice:");

src/main/java/fr/igred/nucleus/dialogs/ChromocenterSegmentationPipelineBatchDialog.java renamed to src/main/java/fr/igred/nucleus/gui/ChromocenterSegmentationDialog.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import fr.igred.omero.exception.AccessException;
2121
import fr.igred.omero.exception.ServiceException;
@@ -47,7 +47,7 @@
4747
*
4848
* @author Poulet Axel
4949
*/
50-
public class ChromocenterSegmentationPipelineBatchDialog extends JFrame implements ItemListener {
50+
public class ChromocenterSegmentationDialog extends JFrame implements ItemListener {
5151
private static final long serialVersionUID = -1605324416480852307L;
5252

5353
private final transient IDialogListener dialogListener;
@@ -67,7 +67,7 @@ public class ChromocenterSegmentationPipelineBatchDialog extends JFrame implemen
6767

6868

6969
/** Architecture of the graphical windows */
70-
public ChromocenterSegmentationPipelineBatchDialog(IDialogListener dialogListener) {
70+
public ChromocenterSegmentationDialog(IDialogListener dialogListener) {
7171
this.dialogListener = dialogListener;
7272
Container container;
7373
JLabel jLabelWorkDirectory;

src/main/java/fr/igred/nucleus/dialogs/ComputeParametersDialog.java renamed to src/main/java/fr/igred/nucleus/gui/ComputeParametersDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import fr.igred.omero.exception.AccessException;
2121
import fr.igred.omero.exception.ServiceException;

src/main/java/fr/igred/nucleus/dialogs/CropFromCoordinatesDialog.java renamed to src/main/java/fr/igred/nucleus/gui/CropFromCoordinatesDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import fr.igred.nucleus.Version;
2121
import fr.igred.omero.exception.AccessException;

src/main/java/fr/igred/nucleus/dialogs/GenerateOverlayDialog.java renamed to src/main/java/fr/igred/nucleus/gui/GenerateOverlayDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18-
package fr.igred.nucleus.dialogs;
18+
package fr.igred.nucleus.gui;
1919

2020
import fr.igred.nucleus.Version;
2121
import fr.igred.omero.exception.AccessException;

0 commit comments

Comments
 (0)