mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
GP-6483: Loader option redesign with tooltip support
This commit is contained in:
@@ -64,7 +64,9 @@ public class SkeletonExporter extends Exporter {
|
||||
List<Option> list = new ArrayList<>();
|
||||
|
||||
// If this exporter has custom options, add them to 'list'
|
||||
list.add(new Option("Option name goes here", "Default option value goes here"));
|
||||
list.add(Option.newString("Option name goes here")
|
||||
.value("Default option value goes here")
|
||||
.build());
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,9 @@ public class SkeletonLoader extends AbstractProgramWrapperLoader {
|
||||
isLoadIntoProgram, mirrorFsLayout);
|
||||
|
||||
// If this loader has custom options, add them to 'list'
|
||||
list.add(new Option("Option name goes here", "Default option value goes here"));
|
||||
list.add(Option.newString("Option name goes here")
|
||||
.value("Default option value goes here")
|
||||
.build());
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user