Package ghidra.app.plugin.debug

# Class EventDisplayPlugin

java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.plugin.debug.EventDisplayPlugin

All Implemented Interfaces:
  `PluginEventListener`, `ServiceListener`, `ExtensionPoint`

public class EventDisplayPlugin extends Plugin
Plugin to demonstrate handling of Program within a plugin and how to set up the list of consumed plugin events.

- ## Field Summary

  ### Fields inherited from class ghidra.framework.plugintool.Plugin

  `name, pluginDescription, tool`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventDisplayPlugin(PluginTool tool)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `dispose()`
  Tells a plugin that it is no longer needed.
  `void`
  `processEvent(PluginEvent event)`
  Put event processing code here.

  ### Methods inherited from class ghidra.framework.plugintool.Plugin

  `accept, acceptData, canClose, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, init, internalRegisterEventConsumed, isDisposed, prepareToSave, readConfigState, readDataState, registerDynamicServiceProvided, registerServiceProvided, restoreTransientState, restoreUndoRedoState, saveData, serviceAdded, serviceRemoved, writeConfigState, writeDataState`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EventDisplayPlugin

    public EventDisplayPlugin(PluginTool tool)
    Constructor

- ## Method Details

  - ### dispose

    protected void dispose()
    Description copied from class: `Plugin`
    Tells a plugin that it is no longer needed. The plugin should release any resources that it has. All actions, components, services will automatically be cleaned up.
    Overrides:
      `dispose` in class `Plugin`

  - ### processEvent

    public void processEvent(PluginEvent event)
    Put event processing code here.
    Overrides:
      `processEvent` in class `Plugin`
    Parameters:
      `event` - plugin to process