Package ghidra.service.graph
Class VertexGraphActionContext
- java.lang.Object
-
- docking.ActionContext
-
- ghidra.service.graph.GraphActionContext
-
- ghidra.service.graph.VertexGraphActionContext
-
public class VertexGraphActionContext extends GraphActionContext
GraphActionContext for when user invokes a popup action on a graph vertex.
-
-
Constructor Summary
Constructors Constructor Description VertexGraphActionContext(ComponentProvider componentProvider, AttributedGraph graph, java.util.Set<AttributedVertex> selectedVertices, AttributedVertex locatedVertex, AttributedVertex clickedVertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributedVertex
getClickedVertex()
Returns the vertex from where the popup menu was launched-
Methods inherited from class ghidra.service.graph.GraphActionContext
getFocusedVertex, getGraph, getSelectedVertices
-
Methods inherited from class docking.ActionContext
getComponentProvider, getContextObject, getGlobalContext, getMouseEvent, getSourceComponent, getSourceObject, setContextObject, setMouseEvent, setSourceObject, toString
-
-
-
-
Constructor Detail
-
VertexGraphActionContext
public VertexGraphActionContext(ComponentProvider componentProvider, AttributedGraph graph, java.util.Set<AttributedVertex> selectedVertices, AttributedVertex locatedVertex, AttributedVertex clickedVertex)
-
-
Method Detail
-
getClickedVertex
public AttributedVertex getClickedVertex()
Returns the vertex from where the popup menu was launched- Returns:
- the vertex from where the popup menu was launched
-
-