forked from micro-manager/micro-manager
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request micro-manager#2033 from nicost/lightSheetControl
Light sheet control, plugin to set up the Multi Stage adpater nicely
- Loading branch information
Showing
6 changed files
with
609 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<project name="LightSheetControl" default="jar"> | ||
<import file="../javapluginbuild.xml"/> | ||
</project> |
59 changes: 59 additions & 0 deletions
59
...LightSheetControl/src/main/java/org/micromanager/lightsheetcontrol/LightSheetControl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/** | ||
* | ||
* @author kthorn | ||
*/ | ||
|
||
package org.micromanager.lightsheetcontrol; | ||
|
||
import org.micromanager.MenuPlugin; | ||
import org.micromanager.Studio; | ||
import org.scijava.plugin.Plugin; | ||
import org.scijava.plugin.SciJavaPlugin; | ||
|
||
@Plugin(type = MenuPlugin.class) | ||
public class LightSheetControl implements MenuPlugin, SciJavaPlugin { | ||
public static final String menuName = "Light Sheet Control"; | ||
public static final String tooltipDescription = | ||
"Controls AZ100-based light sheet microscope at the Nikon Imaging Center"; | ||
private Studio studio_; | ||
private LightSheetControlFrame myFrame_; | ||
|
||
@Override | ||
public String getSubMenu() { | ||
return "Device Control"; | ||
} | ||
|
||
@Override | ||
public void onPluginSelected() { | ||
if (myFrame_ == null) { | ||
myFrame_ = new LightSheetControlFrame(studio_); | ||
} | ||
myFrame_.setVisible(true); | ||
} | ||
|
||
@Override | ||
public void setContext(Studio studio) { | ||
studio_ = studio; | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return menuName; | ||
} | ||
|
||
@Override | ||
public String getHelpText() { | ||
return "Plugin for controlling AZ100 light sheet microscope in the Nikon Imaging Center," | ||
+ " UCSF. See Kurt Thorn with questions."; | ||
} | ||
|
||
@Override | ||
public String getVersion() { | ||
return "v0.2"; | ||
} | ||
|
||
@Override | ||
public String getCopyright() { | ||
return "University of California, 2016, 2024"; | ||
} | ||
} |
Oops, something went wrong.