Page MenuHomec4science

uSurgery.java
No OneTemporary

File Metadata

Created
Thu, Feb 13, 22:49

uSurgery.java

This document is not UTF8. It was detected as Shift JIS and converted to UTF8 for display.
/**
* uSurgery plugin designed for the support of the 6DOF SmarAct TTTRRR uSurgery robot
*
* Jon M舐ki, 2020
*
*/
import mmcorej.CMMCore;
import org.micromanager.api.MMPlugin;
import org.micromanager.api.ScriptInterface;
public class uSurgery implements MMPlugin
{
public static String menuName = "uSurgery robot plugin";
public static String tooltipDescription = "This is the main plugin for interacting with the uSurgery robot.";
private CMMCore core_;
private ScriptInterface gui_;
private uSurgeryFrame myFrame_;
public void setApp(ScriptInterface app)
{
gui_ = app;
core_ = app.getMMCore();
if (myFrame_ == null)
myFrame_ = new uSurgeryFrame(gui_);
myFrame_.setVisible(true);
// Used to change the background layout of the form. Does not work on Windows
//gui_.addMMBackgroundListener(myFrame_);
}
public void dispose()
{
// nothing todo:
}
public void show()
{
}
public void configurationChanged()
{
}
public String getInfo ()
{
return "uSurgery control";
}
public String getDescription()
{
return tooltipDescription;
}
public String getVersion()
{
return "1.0";
}
public String getCopyright()
{
return "EPFL - MICROBS, 2020";
}
}

Event Timeline