Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101809727
uSurgery.java
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Feb 13, 22:49
Size
1 KB
Mime Type
text/x-java
Expires
Sat, Feb 15, 22:49 (2 d)
Engine
blob
Format
Raw Data
Handle
24205917
Attached To
R10714 uSurgery main dll file
uSurgery.java
View Options
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
Log In to Comment