@Override
	public void mousePressed(MouseEvent e) {

		trace("'pressed'");

		if (e.isConsumed()) {
			return;
		}

		reset(); // always reset on pressed in case we never got the clicked event

		if (consume(e)) {
			trace("\tevent consumed");
			return;
		}

		if (popup(e)) {
			trace("\tpopup triggered");
			return;
		}
	}
Called when a popup event is discovered.

@param e the event that triggered the popup
Ghidra/Framework/Docking/src/main/java/docking/event/mouse/GMouseListenerAdapter.java