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, update
create, create, get, get, get, getAnnotation, getOrCreate, getOrCreate, getPluginType, inject, setPluginType
getIconPath, getMenuPath, getMenuRoot, getPriority, getSelectionGroup, isEnabled, isSelectable, isSelected, isVisible, setEnabled, setIconPath, setMenuPath, setMenuRoot, setPriority, setSelectable, setSelected, setSelectionGroup, setVisible
get, getDescription, getLabel, getName, is, set, setDescription, setLabel, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compareTo, getIconPath, getMenuPath, getMenuRoot, getSelectionGroup, isEnabled, isSelectable, isSelected, isVisible, setEnabled, setIconPath, setMenuPath, setMenuRoot, setSelectable, setSelected, setSelectionGroup, setVisible
get, getDescription, getLabel, is, set, setDescription, setLabel
getPriority, setPriority
public 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 Identifiable
getIdentifier
in interface ModuleInfo
getIdentifier
in class CommandInfo
public String getLocation()
getLocation
in interface Locatable
getLocation
in interface ModuleInfo
getLocation
in class PluginInfo<Command>
public String getVersion()
getVersion
in interface ModuleInfo
getVersion
in interface Versioned
getVersion
in class PluginInfo<Command>
Copyright © 2014–2022 ImageJ. All rights reserved.