public interface LegacyOpener extends SciJavaPlugin
Modifier and Type | Method and Description |
---|---|
Object |
open(String path,
int planeIndex,
boolean displayResult)
Optionally override opening resources via legacy hooks.
|
Object open(String path, int planeIndex, boolean displayResult)
This is intended as a "HandleExtraFileTypesPlus".
path
- the path to the resource to open, or null
if a dialog
needs to be shownplaneIndex
- If applicable - the index of plane to open or -1 for all
planesdisplayResult
- if true, the opened object should be displayed before
returningnull
if the open failed.Copyright © 2014–2022 ImageJ. All rights reserved.