ActionContext getActionContext(ComponentProvider provider, MouseEvent e) {
		Component comp = e == null ? projectTab.getSelectedComponent() : e.getComponent();

		while (comp != null) {
			if (comp instanceof JTabbedPane) {
				return new DefaultActionContext(provider, comp);
			}
			if (comp instanceof ProjectDataTreePanel) {
				ProjectDataTreePanel panel = (ProjectDataTreePanel) comp;
				return panel.getActionContext(provider, e);
			}
			if (comp instanceof ProjectDataTablePanel) {
				ProjectDataTablePanel panel = (ProjectDataTablePanel) comp;
				return panel.getActionContext(provider, e);
			}
			comp = comp.getParent();
		}

		// the clicked component is not a child of a ProjectDataTreePanel--no context
		return null;
	}
returns the ProjectURL for the current active view; null if no views open
@return the ProjectURL for the current active view; null if no views open
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ProjectDataPanel.java