-
Notifications
You must be signed in to change notification settings - Fork 3
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 #295 from bls337/main
improve API ergonomics
- Loading branch information
Showing
39 changed files
with
156 additions
and
156 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
82 changes: 41 additions & 41 deletions
82
src/main/java/org/micromanager/lightsheetmanager/api/internal/DefaultLightSheetManager.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 |
---|---|---|
@@ -1,41 +1,41 @@ | ||
package org.micromanager.lightsheetmanager.api.internal; | ||
|
||
|
||
import org.micromanager.lightsheetmanager.api.AutofocusSettings; | ||
import org.micromanager.lightsheetmanager.api.LightSheetManager; | ||
import org.micromanager.lightsheetmanager.api.TimingSettings; | ||
import org.micromanager.lightsheetmanager.api.VolumeSettings; | ||
|
||
public class DefaultLightSheetManager implements LightSheetManager { | ||
/** | ||
* Access to a AutofocusSettingsBuilder. | ||
* | ||
* @return AutofocusSettings.Builder with default settings. | ||
*/ | ||
@Override | ||
public AutofocusSettings.Builder autofocusSettingsBuilder() { | ||
return new DefaultAutofocusSettings.Builder(); | ||
} | ||
|
||
/** | ||
* Access to a VolumeSettingsBuilder. | ||
* | ||
* @return VolumeSettings.Builder with default settings. | ||
*/ | ||
@Override | ||
public VolumeSettings.Builder volumeSettingsBuilder() { | ||
return new DefaultVolumeSettings.Builder(); | ||
} | ||
|
||
/** | ||
* Access to a TimingSettingsBuilder. | ||
* | ||
* @return TimingSettings.Builder with default settings. | ||
*/ | ||
@Override | ||
public TimingSettings.Builder timingSettingsBuilder() { | ||
return new DefaultTimingSettings.Builder(); | ||
} | ||
} | ||
//package org.micromanager.lightsheetmanager.api.internal; | ||
// | ||
// | ||
//import org.micromanager.lightsheetmanager.api.AutofocusSettings; | ||
//import org.micromanager.lightsheetmanager.api.LightSheetManagerAPI; | ||
//import org.micromanager.lightsheetmanager.api.TimingSettings; | ||
//import org.micromanager.lightsheetmanager.api.VolumeSettings; | ||
// | ||
//public class DefaultLightSheetManager implements LightSheetManagerAPI { | ||
// | ||
// /** | ||
// * Access to a AutofocusSettingsBuilder. | ||
// * | ||
// * @return AutofocusSettings.Builder with default settings. | ||
// */ | ||
// @Override | ||
// public AutofocusSettings.Builder autofocusSettingsBuilder() { | ||
// return new DefaultAutofocusSettings.Builder(); | ||
// } | ||
// | ||
// /** | ||
// * Access to a VolumeSettingsBuilder. | ||
// * | ||
// * @return VolumeSettings.Builder with default settings. | ||
// */ | ||
// @Override | ||
// public VolumeSettings.Builder volumeSettingsBuilder() { | ||
// return new DefaultVolumeSettings.Builder(); | ||
// } | ||
// | ||
// /** | ||
// * Access to a TimingSettingsBuilder. | ||
// * | ||
// * @return TimingSettings.Builder with default settings. | ||
// */ | ||
// @Override | ||
// public TimingSettings.Builder timingSettingsBuilder() { | ||
// return new DefaultTimingSettings.Builder(); | ||
// } | ||
// | ||
//} |
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.