The GgUserInteractionListener interface is used to save listeners to the state. It defines a listener as a combination of event name, tool / component name (GirafeHTMLElement.name) and if it's listening exclusively.