public abstract class AbstractLegacyAdapter extends Object implements LegacyAdapter
LegacyAdapter
implementation. Note that the
IJ1Helper
class requires a LegacyService
explicitly,
thus we require one here in a constructor instead of going through the usual
Contextual
injection.Constructor and Description |
---|
AbstractLegacyAdapter(LegacyService legacyService) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
dummy()
Returns true iff the linked
LegacyService is not fully active. |
protected LegacyService |
getLegacyService() |
IJ1Helper |
helper() |
public AbstractLegacyAdapter(LegacyService legacyService)
public IJ1Helper helper()
helper
in interface LegacyAdapter
IJ1Helper
instance to encapsulate legacy ImageJ imports.
No implementing class should import anything from ij.*
-
instead, delegate through the helper returned by this method.protected LegacyService getLegacyService()
protected boolean dummy()
LegacyService
is not fully active.Copyright © 2014–2022 ImageJ. All rights reserved.