public AbstractImgIOComponent(final Context context) { setContext(context); }
/** * Registers the given ImgPlus with the RefManagerService in the provided * component's Context. */ private static void register(final List<? extends SCIFIOImgPlus<?>> imgPlus, final AbstractImgIOComponent component) { final Context ctx = component.getContext(); final RefManagerService refManagerService = ctx.getService(RefManagerService.class); for (final SCIFIOImgPlus<?> img : imgPlus) { refManagerService.manage(img, ctx); } }
/** * Registers the given ImgPlus with the RefManagerService in the provided * component's Context. */ private static void register(final List<? extends SCIFIOImgPlus<?>> imgPlus, final AbstractImgIOComponent component) { final Context ctx = component.getContext(); final RefManagerService refManagerService = ctx.getService(RefManagerService.class); for (final SCIFIOImgPlus<?> img : imgPlus) { refManagerService.manage(img, ctx); } }
public AbstractImgIOComponent(final Context context) { setContext(context); }