Class DomainFolderOption
java.lang.Object
ghidra.app.util.Option
ghidra.app.util.importer.options.AbstractOption<String>
ghidra.app.util.importer.options.StringOption
ghidra.app.util.importer.options.DomainFolderOption
An
Option used to specify a DomainFolder-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDomainFolderOption(String name, String value, String arg, String group, String stateKey, boolean hidden, String description) Creates a newDomainFolderOption -
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a copy of thisOptionobject.getCustomEditorComponent(AddressFactoryService addressFactoryService) Override if you want to provide a custom widget for selecting your options.Methods inherited from class StringOption
parseAndSetValueByTypeMethods inherited from class AbstractOption
getValue, setValueMethods inherited from class Option
getArg, getDescription, getGroup, getName, getState, getStateKey, getValueClass, isHidden, newAddress, newAddressSpace, newBoolean, newDomainFile, newDomainFolder, newHexLong, newInteger, newString, setOptionListener, toString
-
Constructor Details
-
DomainFolderOption
public DomainFolderOption(String name, String value, String arg, String group, String stateKey, boolean hidden, String description) Creates a newDomainFolderOption- Parameters:
name- the name of the optionvalue- the value of the optionarg- the option's command line argumentgroup- the name for group of optionsstateKey- the state key namehidden- true if this option should be hidden from the user; otherwise, falsedescription- a description of the option
-
-
Method Details
-
getCustomEditorComponent
Description copied from class:OptionOverride if you want to provide a custom widget for selecting your options.Important! If you override this you MUST also override the
Option.copy()method so it returns a new instance of your custom editor.- Overrides:
getCustomEditorComponentin classStringOption- Parameters:
addressFactoryService- TheAddressFactoryService- Returns:
- the custom editor
Component, ornullif there isn't one
-
copy
Description copied from class:OptionReturns a copy of thisOptionobject.NOTE:
Optionsubclasses should always overwrite this method so they can return their exact type, instead of the more genericOptiontype.NOTE: When the deprecated constructors of this class get removed, this method should become abstract.
- Overrides:
copyin classStringOption- Returns:
- a copy of this
Optionobject
-