Skip to content

Commit

Permalink
IJGateway: add DefaultUnitService to context
Browse files Browse the repository at this point in the history
  • Loading branch information
dietzc committed Oct 22, 2015
1 parent 3b77901 commit d6112b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit d6112b2

Please sign in to comment.