Package ghidra.service.graph
Class VertexGraphActionContext
java.lang.Object
docking.DefaultActionContext
ghidra.service.graph.GraphActionContext
ghidra.service.graph.VertexGraphActionContext
- All Implemented Interfaces:
ActionContext
GraphActionContext for when user invokes a popup action on a graph vertex.
-
Constructor Summary
ConstructorDescriptionVertexGraphActionContext
(ComponentProvider componentProvider, AttributedGraph graph, Set<AttributedVertex> selectedVertices, AttributedVertex locatedVertex, AttributedVertex clickedVertex) -
Method Summary
Modifier and TypeMethodDescriptionReturns the vertex from where the popup menu was launchedMethods inherited from class ghidra.service.graph.GraphActionContext
getFocusedVertex, getGraph, getSelectedVertices
Methods inherited from class docking.DefaultActionContext
getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject, toString
-
Constructor Details
-
VertexGraphActionContext
public VertexGraphActionContext(ComponentProvider componentProvider, AttributedGraph graph, Set<AttributedVertex> selectedVertices, AttributedVertex locatedVertex, AttributedVertex clickedVertex)
-
-
Method Details
-
getClickedVertex
Returns the vertex from where the popup menu was launched- Returns:
- the vertex from where the popup menu was launched
-