@Override
	public ActionContext getActionContext(MouseEvent event) {

		if (event == null) {
			VisualGraphView<V, E, G> view = getView();
			V v = view.getFocusedVertex();
			if (v != null) {
				return new VgVertexContext<>(this, v);
			}
			return new VgActionContext(this);
		}

		V v = getVertexUnderMouse(event);
		if (v != null) {
			return new VgVertexContext<>(this, v);
		}

		Component c = event.getComponent();
		if (getView().isSatelliteComponent(c)) {
			return new VgSatelliteContext(this);
		}

		return new VgActionContext(this, c);
	}
Reads previously saved state from the given state object

@param saveState the state object that may contain state information for this provider
Ghidra/Framework/Graph/src/main/java/ghidra/graph/VisualGraphComponentProvider.java