Skip to content

Commit fdb9102

Browse files
committed
Update bdv-playground in order to support command logos and descriptions on mouse over
Adds a few logo for fun
1 parent c901c33 commit fdb9102

16 files changed

Lines changed: 13761 additions & 987 deletions

graphics/ABBA Icons.ai

Lines changed: 13744 additions & 977 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@
107107
<main-class>ch.epfl.biop.abba.ABBALaunchMouse</main-class>
108108

109109
<!-- bdv playground related dependencies -->
110-
<bigdataviewer-playground.version>0.11.0</bigdataviewer-playground.version>
110+
<bigdataviewer-playground.version>0.11.1</bigdataviewer-playground.version>
111111
<bigdataviewer-image-loaders.version>0.9.0</bigdataviewer-image-loaders.version>
112112
<bigdataviewer-biop-tools.version>0.11.0</bigdataviewer-biop-tools.version>
113-
<bigdataviewer-selector.version>0.2.7</bigdataviewer-selector.version>
113+
<bigdataviewer-selector.version>0.2.8</bigdataviewer-selector.version>
114114

115115
<!-- maths -->
116116
<leastsquares.version>1.0.0</leastsquares.version>
@@ -127,6 +127,8 @@
127127
<reflections.version>0.10.2</reflections.version>
128128
<pyimagej-scijava-command.version>0.2.1</pyimagej-scijava-command.version>
129129

130+
<bigdataviewer-playground.version>0.11.1</bigdataviewer-playground.version>
131+
130132
<!-- NB: Deploy releases to the SciJava Maven repository. -->
131133
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
132134

src/main/java/ch/epfl/biop/atlas/aligner/command/ABBACiteInfoCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void run() {
3232
JFrame frame = new JFrame("How to cite");
3333
frame.setSize(450, 350);
3434
frame.setLocationRelativeTo(null); // Center the window
35-
frame.setIconImage((new ImageIcon(MultiSlicePositioner.class.getResource("/graphics/ABBAFrame.jpg"))).getImage());
35+
frame.setIconImage((new ImageIcon(MultiSlicePositioner.class.getResource("/graphics/ABBAStart.png"))).getImage());
3636

3737
// Create a JPanel to hold the content and set a nice background color
3838
JPanel panel = new JPanel();

src/main/java/ch/epfl/biop/atlas/aligner/command/ExportRegistrationToQuPathCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
@Plugin(type = Command.class,
1414
menuPath = "Plugins>BIOP>Atlas>Multi Image To Atlas>Export>ABBA - Export Registrations To QuPath Project",
15-
description = "Export atlas regions and transformations to QuPath project (for each selected slice)")
15+
description = "Export atlas regions and transformations to QuPath project (for each selected slice)",
16+
iconPath = "/graphics/ExportRegistrationToQuPath.png")
1617
public class ExportRegistrationToQuPathCommand implements Command {
1718

1819
@Parameter

src/main/java/ch/epfl/biop/atlas/aligner/command/ImportSliceFromImagePlusCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
@Plugin(type = Command.class,
1414
menuPath = "Plugins>BIOP>Atlas>Multi Image To Atlas>Import>ABBA - Import Current ImageJ Window",
15-
description = "Import the current ImageJ image as a slice into ABBA")
15+
description = "Import the current ImageJ image as a slice into ABBA",
16+
iconPath = "/graphics/ImportSliceFromImagePlus.png")
1617
public class ImportSliceFromImagePlusCommand implements Command {
1718

1819
@Parameter

src/main/java/ch/epfl/biop/atlas/aligner/command/ImportSlicesFromFilesCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
@SuppressWarnings("CanBeFinal")
2020
@Plugin(type = Command.class,
2121
menuPath = "Plugins>BIOP>Atlas>Multi Image To Atlas>Import>ABBA - Import With Bio-Formats",
22-
description = "Import a Bio-Formats compatible file as brain slices")
22+
description = "Import a Bio-Formats compatible file as brain slices",
23+
iconPath = "/graphics/ImportSlicesFromFiles.png")
2324
public class ImportSlicesFromFilesCommand implements Command {
2425

2526
@Parameter

src/main/java/ch/epfl/biop/atlas/aligner/command/ImportSlicesFromQuPathCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
@Plugin(type = Command.class,
1919
menuPath = "Plugins>BIOP>Atlas>Multi Image To Atlas>Import>ABBA - Import QuPath Project",
20-
description = "Import images of a QuPath project as slices into ABBA")
20+
description = "Import images of a QuPath project as slices into ABBA",
21+
iconPath = "/graphics/ImportSlicesFromQuPath.png")
2122
public class ImportSlicesFromQuPathCommand implements Command {
2223

2324
@Parameter(style = "message", visibility = ItemVisibility.MESSAGE)

src/main/java/ch/epfl/biop/atlas/aligner/gui/bdv/ABBABdvShortCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
@SuppressWarnings("unused")
1010
@Plugin(type = Command.class,
1111
menuPath = "Plugins>BIOP>Atlas>ABBA - ABBA Start",
12-
description = "Starts ABBA from an Atlas with a BDV View")
12+
description = "Starts ABBA from an Atlas with a BDV View",
13+
iconPath = "/graphics/ABBAStart.png")
1314
public class ABBABdvShortCommand implements Command {
1415

1516

src/main/java/ch/epfl/biop/atlas/aligner/gui/bdv/BdvMultislicePositionerView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ private void addFrameIcon() {
669669
// Set ABBA Icon in Window
670670
JFrame frame = ((BdvHandleFrame)bdvh).getBigDataViewer().getViewerFrame();
671671
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
672-
frame.setIconImage((new ImageIcon(MultiSlicePositioner.class.getResource("/graphics/ABBAFrame.jpg"))).getImage());
672+
frame.setIconImage((new ImageIcon(MultiSlicePositioner.class.getResource("/graphics/ABBAStart.png"))).getImage());
673673
}
674674

675675
private void addTableView() {
11.3 KB
Loading

0 commit comments

Comments
 (0)