Package ghidra.app.events
Class ViewChangedPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.ViewChangedPluginEvent
-
public final class ViewChangedPluginEvent extends PluginEvent
Event for notifying plugins when the program view changes (what the Code Browser shows in the listing window).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEName of the event.-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description ViewChangedPluginEvent(java.lang.String source, java.lang.String treeName, AddressSet viewSet)Constructor for ViewChangedPluginEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTreeName()Get the name of the tree where the view is from.AddressSetgetView()Get the address set in the view.java.lang.StringtoString()Returns a string for debugging purposes.-
Methods inherited from class ghidra.framework.plugintool.PluginEvent
getDetails, getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Name of the event.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ViewChangedPluginEvent
public ViewChangedPluginEvent(java.lang.String source, java.lang.String treeName, AddressSet viewSet)Constructor for ViewChangedPluginEvent.- Parameters:
source- name of the plugin that created this eventtreeName- name of the tree in the programviewSet- set of addresses in the view
-
-
Method Detail
-
getTreeName
public java.lang.String getTreeName()
Get the name of the tree where the view is from.
-
getView
public AddressSet getView()
Get the address set in the view.
-
toString
public java.lang.String toString()
Returns a string for debugging purposes.- Overrides:
toStringin classPluginEvent- See Also:
Object.toString()
-
-