public interface MicroscopeConnectionFactory
Modifier and Type | Method and Description |
---|---|
MicroscopeInternal |
createMicroscopeConnection(java.lang.String microscopeConnectionID,
java.lang.String driverPath)
Returns a new interface through which the drivers of the microscope can be accessed.
|
java.lang.String |
getMicroscopeConnectionDescription(java.lang.String microscopeConnectionID)
Returns a human readable description of the plug-in.
|
java.lang.String |
getShortMicroscopeConnectionDescription(java.lang.String microscopeConnectionID)
Returns a short (one line) human readable description of the plug-in.
|
java.lang.String[] |
getSupportedMicroscopeConnectionIDs()
Returns a list of all types of microscope connections the plug-in supports.
|
boolean |
needsDriverPath(java.lang.String microscopeConnectionID)
Returns true if the given connection type needs an URL to the folder where the microscope drivers are, false if such a folder is not needed.
|
boolean |
supportsMicroscopeConnectionID(java.lang.String microscopeConnectionID)
Returns true if the plug-in supports the given microscope connection type, false otherwise.
|
MicroscopeInternal createMicroscopeConnection(java.lang.String microscopeConnectionID, java.lang.String driverPath) throws MicroscopeConnectionException
microscopeConnectionID
- The identifier of the microscope connection type.driverPath
- An URL to the local folder where the drivers are stored, or null if the respective connection type does not need such a folder.MicroscopeConnectionException
- Thrown if error in connecting to microManager occured.java.lang.String[] getSupportedMicroscopeConnectionIDs()
boolean supportsMicroscopeConnectionID(java.lang.String microscopeConnectionID)
microscopeConnectionID
- The identifier of the microscope connection type.boolean needsDriverPath(java.lang.String microscopeConnectionID)
microscopeConnectionID
- The identifier of the microscope connection type.java.lang.String getMicroscopeConnectionDescription(java.lang.String microscopeConnectionID)
microscopeConnectionID
- The identifier of the microscope connection type.java.lang.String getShortMicroscopeConnectionDescription(java.lang.String microscopeConnectionID)
microscopeConnectionID
- The identifier of the microscope connection type.