Package ghidra.service.graph

# Class EdgeGraphActionContext

java.lang.Object
docking.DefaultActionContext
ghidra.service.graph.GraphActionContext
ghidra.service.graph.EdgeGraphActionContext

All Implemented Interfaces:
  `ActionContext`

public class EdgeGraphActionContext extends GraphActionContext
GraphActionContext for when user invokes a popup action on a graph edge.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EdgeGraphActionContext(ComponentProvider componentProvider, AttributedGraph graph, Set<AttributedVertex> selectedVertices, AttributedVertex locatedVertex, AttributedEdge clickedEdge)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AttributedEdge`
  `getClickedEdge()`
  Returns the edge from where the popup menu was launched

  ### Methods 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, setSourceObject, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### EdgeGraphActionContext

    public EdgeGraphActionContext(ComponentProvider componentProvider, AttributedGraph graph, Set<AttributedVertex> selectedVertices, AttributedVertex locatedVertex, AttributedEdge clickedEdge)

- ## Method Details

  - ### getClickedEdge

    public AttributedEdge getClickedEdge()
    Returns the edge from where the popup menu was launched
    Returns:
      the edge from where the popup menu was launched