@Override
	public ActionContext getActionContext(MouseEvent event) {
		return display.getActionContext(event);
	}
provided a JComponent for the ProgramGraph visualization
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphDisplayComponentProvider.java