Skip to content

Commit

Permalink
Merge pull request micro-manager#2033 from nicost/lightSheetControl
Browse files Browse the repository at this point in the history
Light sheet control, plugin to set up the Multi Stage adpater nicely
  • Loading branch information
nicost authored Dec 10, 2024
2 parents 2872221 + 7b02e67 commit 59bbbb5
Show file tree
Hide file tree
Showing 6 changed files with 609 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/LightSheetControl/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<project name="LightSheetControl" default="jar">
<import file="../javapluginbuild.xml"/>
</project>
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";
}
}
Loading

0 comments on commit 59bbbb5

Please sign in to comment.