Class DomainFolderOption

java.lang.Object
ghidra.app.util.Option
ghidra.app.util.importer.DomainFolderOption

public class DomainFolderOption extends Option
An Option used to specify a DomainFolder
  • Constructor Details

    • DomainFolderOption

      public DomainFolderOption(String name, String arg)
      Creates a new DomainFolderOption
      Parameters:
      name - The name of the option
      arg - The option's command line argument (could be null)
  • Method Details

    • getCustomEditorComponent

      public Component getCustomEditorComponent()
      Description copied from class: Option
      Override 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:
      getCustomEditorComponent in class Option
      Returns:
      the custom editor
    • getValueClass

      public Class<?> getValueClass()
      Description copied from class: Option
      Returns the class of the value for this option.
      Overrides:
      getValueClass in class Option
      Returns:
      the class of the value for this option
    • copy

      public Option copy()
      Description copied from class: Option
      Creates a copy of this Option object.
      Overrides:
      copy in class Option
      Returns:
      a copy of this Option object.