use of org.scijava.prefs.PrefService in project labkit-ui by juglab.
the class TrainableSegmentationSegmenter method setUseGpuPreference.
private void setUseGpuPreference(boolean useGpu) {
PrefService prefService = context.service(PrefService.class);
prefService.put(TrainableSegmentationSegmenter.class, "USE_GPU", useGpu);
}
Aggregations