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
All Methods Instance Methods Concrete Methods 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
acceptData, canClose, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getPluginName, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, init, isDisposed, prepareToSave, readConfigState, readDataState, registerDynamicEventConsumed, registerDynamicServiceProvided, registerEventConsumed, registerEventProduced, registerServiceProvided, registerServiceUsed, restoreTransientState, restoreUndoRedoState, saveData, serviceAdded, serviceRemoved, writeConfigState, writeDataState
-
-
-
-
Constructor Detail
-
EventDisplayPlugin
public EventDisplayPlugin(PluginTool tool)
Constructor
-
-
Method Detail
-
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.
-
processEvent
public void processEvent(PluginEvent event)
Put event processing code here.- Overrides:
processEvent
in classPlugin
- Parameters:
event
- plugin to process
-
-