Package ghidra.test

Class TestTool

    • Constructor Detail

      • TestTool

        public TestTool​(Project project)
    • Method Detail

      • createDockingWindowManager

        protected DockingWindowManager createDockingWindowManager​(boolean isDockable,
                                                                  boolean hasStatus,
                                                                  boolean isModal)
        Description copied from class: PluginTool
        This method exists here, as opposed to inline in the constructor, so that subclasses can alter the behavior of the DockingWindowManager construction.
        Overrides:
        createDockingWindowManager in class GhidraTool
        Parameters:
        isDockable - true if the tool contains components that can be docked
        hasStatus - true if the tool should display a status component
        isModal - true if the tool is modal, meaning that while this tool is visible, no other tool or dialog in Ghidra can have focus
        Returns:
        a new DockingWindowManager
      • close

        public void close()
        Description copied from class: PluginTool
        Close this tool:
        1. if there are no tasks running.
        2. resolve the state of any plugins so they can be closed.
        3. Prompt the user to save any changes.
        4. close all associated plugins (this closes the domain object if one is open).
        5. pop up dialog to save the configuration if it has changed.
        6. notify the project tool services that this tool is going away.
        Specified by:
        close in interface DockingTool
        Overrides:
        close in class PluginTool