Package ghidra.app.events
Class TreeSelectionPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.TreeSelectionPluginEvent
-
public final class TreeSelectionPluginEvent extends PluginEvent
Notification for a new Program Tree selection.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
Name of the event.-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description TreeSelectionPluginEvent(java.lang.String source, java.lang.String treeName, GroupPath[] groupPaths)
Constructor for TreeSelectionPluginEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupPath[]
getGroupPaths()
Get the group paths that are in the tree selection.java.lang.String
getTreeName()
Get the tree name associated with this event.java.lang.String
toString()
String representation of this event 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
-
TreeSelectionPluginEvent
public TreeSelectionPluginEvent(java.lang.String source, java.lang.String treeName, GroupPath[] groupPaths)
Constructor for TreeSelectionPluginEvent.- Parameters:
source
- name of the plugin that generated this eventtreeName
- name of the tree in the programgroupPaths
- group paths that are selected in a Program Tree; the group path uniquely identifies a Module (folder) or fragment in the tree
-
-
Method Detail
-
getGroupPaths
public GroupPath[] getGroupPaths()
Get the group paths that are in the tree selection.
-
getTreeName
public java.lang.String getTreeName()
Get the tree name associated with this event.- Returns:
- String tree name
-
toString
public java.lang.String toString()
String representation of this event for debugging purposes.- Overrides:
toString
in classPluginEvent
- See Also:
Object.toString()
-
-