public class LegacyCommandInfo extends org.scijava.command.CommandInfo
PlugIn.APPLICATION_MENU_ROOT| Constructor and Description |
|---|
LegacyCommandInfo(org.scijava.MenuPath menuPath,
String className,
String arg,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArg()
Gets the
arg portion of the legacy command, if any. |
String |
getIdentifier() |
String |
getLegacyClassName()
Gets the name of the class backing this legacy command.
|
String |
getLocation() |
String |
getVersion() |
Class<?> |
loadLegacyClass()
Gets the class backing this legacy command, loading it as needed.
|
canCancel, canPreview, canRunHeadless, createInstance, createModule, createModule, getClassName, getDelegateClassName, getIconURL, getInitializer, getInput, getInput, getOutput, getOutput, getPluginClass, getPresets, getProblems, getTitle, inputs, isInteractive, isValid, loadClass, loadDelegateClass, outputs, setPluginClass, setPresets, toString, updatecreate, create, get, get, get, getAnnotation, getOrCreate, getOrCreate, getPluginType, inject, setPluginTypegetIconPath, getMenuPath, getMenuRoot, getPriority, getSelectionGroup, isEnabled, isSelectable, isSelected, isVisible, setEnabled, setIconPath, setMenuPath, setMenuRoot, setPriority, setSelectable, setSelected, setSelectionGroup, setVisibleget, getDescription, getLabel, getName, is, set, setDescription, setLabel, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTo, getIconPath, getMenuPath, getMenuRoot, getSelectionGroup, isEnabled, isSelectable, isSelected, isVisible, setEnabled, setIconPath, setMenuPath, setMenuRoot, setSelectable, setSelected, setSelectionGroup, setVisibleget, getDescription, getLabel, is, set, setDescription, setLabelgetName, setNamegetPriority, setPrioritypublic LegacyCommandInfo(org.scijava.MenuPath menuPath, String className, String arg, ClassLoader classLoader)
public String getLegacyClassName()
public String getArg()
arg portion of the legacy command, if any.public Class<?> loadLegacyClass()
public String getIdentifier()
getIdentifier in interface org.scijava.IdentifiablegetIdentifier in interface org.scijava.module.ModuleInfogetIdentifier in class org.scijava.command.CommandInfopublic String getLocation()
getLocation in interface org.scijava.LocatablegetLocation in interface org.scijava.module.ModuleInfogetLocation in class org.scijava.plugin.PluginInfo<org.scijava.command.Command>public String getVersion()
getVersion in interface org.scijava.module.ModuleInfogetVersion in interface org.scijava.VersionedgetVersion in class org.scijava.plugin.PluginInfo<org.scijava.command.Command>Copyright © 2009–2025 ImageJ. All rights reserved.