@SuppressWarnings("unchecked")
	public T getValueFor(MouseEvent event) {
		Object source = event.getSource();
		if (source instanceof JLabel label) {
			Container parent = label.getParent();
			if (parent instanceof GTab gTab) {
				return (T) gTab.getValue();
			}
		}
		return null;
	}
Returns the value of the tab that generated the given mouse event. If the mouse event
is not from one of the tabs, then null is returned.
@param event the MouseEvent to get a value for
@return the value of the tab that generated the mouse event
Ghidra/Framework/Docking/src/main/java/docking/widgets/tab/GTabPanel.java