Class GraphActionContext

java.lang.Object
docking.DefaultActionContext
ghidra.service.graph.GraphActionContext
All Implemented Interfaces:
ActionContext
Direct Known Subclasses:
EdgeGraphActionContext, VertexGraphActionContext

public class GraphActionContext extends DefaultActionContext
The base ActionContext for the GraphDisplay instances.
  • Constructor Details

  • Method Details

    • getGraph

      public AttributedGraph getGraph()
      Returns the graph
      Returns:
      the graph
    • getSelectedVertices

      public Set<AttributedVertex> getSelectedVertices()
      Returns the set of selectedVertices in the graph
      Returns:
      the set of selectedVertices in the graph
    • getFocusedVertex

      public AttributedVertex getFocusedVertex()
      Returns the focused vertex (similar concept to the cursor in a text document)
      Returns:
      the focused vertex