Package ghidra.framework.plugintool.mgr
Class DialogManager
- java.lang.Object
- 
- ghidra.framework.plugintool.mgr.DialogManager
 
- 
 public class DialogManager extends java.lang.ObjectHelper class to manage actions for saving and exporting the tool
- 
- 
Constructor SummaryConstructors Constructor Description DialogManager(PluginTool tool)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexportDefaultTool()Exports a version of our tool without any config settings.voidexportTool()Write our tool to a filename; the user is prompted for a filenamebooleansaveToolAs()Show the "Save Tool" dialog.
 
- 
- 
- 
Constructor Detail- 
DialogManagerpublic DialogManager(PluginTool tool) 
 
- 
 - 
Method Detail- 
saveToolAspublic boolean saveToolAs() Show the "Save Tool" dialog. Returns true if the user performed a 'save as'; returns false if the user cancelled.- Returns:
- false if the user cancelled
 
 - 
exportToolpublic void exportTool() Write our tool to a filename; the user is prompted for a filename
 - 
exportDefaultToolpublic void exportDefaultTool() Exports a version of our tool without any config settings. This is useful for making a new 'default' tool to be shared with others, which will not contain any user settings.
 
- 
 
-