-
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.
IJGateway: add DefaultUnitService to context
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,7 @@ | |
|
||
import net.imagej.DatasetService; | ||
import net.imagej.autoscale.AutoscaleService; | ||
import net.imagej.units.UnitService; | ||
|
||
/** | ||
* provides access to the ImageJ context and loads supported ImageJ Plugins. The class implements the singleton pattern | ||
|
@@ -92,7 +93,6 @@ | |
* @author <a href="mailto:[email protected]">Martin Horn</a> | ||
* @author <a href="mailto:[email protected]">Michael Zinsmaier</a> | ||
*/ | ||
@SuppressWarnings("restriction") | ||
public final class IJGateway { | ||
|
||
private static final NodeLogger LOGGER = NodeLogger.getLogger(IJGateway.class); | ||
|
@@ -113,7 +113,7 @@ public final class IJGateway { | |
*/ | ||
@SuppressWarnings("unchecked") | ||
private static final Class<? extends Service>[] SUPPORTED_SERVICES = | ||
new Class[]{UIService.class, MenuService.class, ToolService.class, EventService.class, ObjectService.class, | ||
new Class[]{UnitService.class, UIService.class, MenuService.class, ToolService.class, EventService.class, ObjectService.class, | ||
AutoscaleService.class, OptionsService.class, DatasetService.class}; | ||
|
||
// MEMBERS | ||
|