Class GhidraScreenShotGenerator

    • Constructor Detail

      • GhidraScreenShotGenerator

        protected GhidraScreenShotGenerator()
    • Method Detail

      • showResults

        protected void showResults()
      • saveOrDisplayImage

        public void saveOrDisplayImage()
        Generally, you shouldn't use this. This is only visible for those who do not directly extend this class.
      • saveOrDisplayImage

        public void saveOrDisplayImage​(java.lang.String name)
      • handleGIFImage

        protected void handleGIFImage​(java.io.File gifFile)
      • getHelpTopic

        protected java.io.File getHelpTopic()
      • loadDefaultTool

        public void loadDefaultTool()
      • getHelpTopicName

        protected java.lang.String getHelpTopicName()
      • finished

        public void finished​(java.io.File helpTopic,
                             java.lang.String oldImageName)
        Call when you are finished generating a new image. This method will either show the newly created image or write it to disk, depending upon the value of AbstractScreenShotGenerator.SAVE_CREATED_IMAGE_FILE, which is a system property.
        Parameters:
        helpTopic - The help topic that contains the image
        oldImageName - The name of the image
      • getOldImage

        protected java.awt.Image getOldImage​(java.io.File helpTopicDir,
                                             java.lang.String imageName)
      • showImage

        @Deprecated
        public void showImage​(java.lang.String helpTopic,
                              java.lang.String oldImageName)
        Deprecated.
        Parameters:
        helpTopic - The help topic that contains the image
        oldImageName - The name of the image
      • saveToHelp

        @Deprecated
        public void saveToHelp​(java.lang.String helpTopic,
                               java.lang.String imageName)
        Deprecated.
        Parameters:
        helpTopic - The help topic that contains the image
        imageName - The name of the image
      • reallySaveToHelp

        protected void reallySaveToHelp​(java.io.File helpTopicDir,
                                        java.lang.String imageName)
      • getHelpTopicDir

        protected java.io.File getHelpTopicDir​(java.lang.String helpTopic)
      • getHelpTopicDirs

        protected java.util.List<java.io.File> getHelpTopicDirs()
      • getFrontEndTool

        protected FrontEndTool getFrontEndTool()
      • performFrontEndAction

        public void performFrontEndAction​(java.lang.String actionName,
                                          java.lang.String owner,
                                          boolean wait)