Class ProjectPluginEvent

java.lang.Object
ghidra.framework.plugintool.PluginEvent
ghidra.framework.plugintool.ProjectPluginEvent

public class ProjectPluginEvent extends PluginEvent
Plugin event for notifying when a project is opened or closed. Note this is only applicable for FrontEndTool plugins.
  • Constructor Details

    • ProjectPluginEvent

      public ProjectPluginEvent(String sourceName, Project project)
      Constructor
      Parameters:
      sourceName - the name of source of the event
      project - if non-null, the project that was opened; otherwise the current was closed.
  • Method Details

    • getProject

      public Project getProject()
      Returns the project that was opened or null if the project was closed.
      Returns:
      the project that was opened or null if the project was closed.