public class LegacyCommandInfo extends CommandInfo
PlugIn.APPLICATION_MENU_ROOT| Constructor and Description |
|---|
LegacyCommandInfo(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, setLabelgetPriority, setPrioritypublic LegacyCommandInfo(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 IdentifiablegetIdentifier in interface ModuleInfogetIdentifier in class CommandInfopublic String getLocation()
getLocation in interface LocatablegetLocation in interface ModuleInfogetLocation in class PluginInfo<Command>public String getVersion()
getVersion in interface ModuleInfogetVersion in interface VersionedgetVersion in class PluginInfo<Command>Copyright © 2014–2022 ImageJ. All rights reserved.