private static void addControlsRecursive(Interaction inter, Set<Interaction> set)
	{
		for (Control ctrl : inter.getControlledOf())
		{
			set.add(ctrl);
			addControlsRecursive(ctrl, set);
		}
	}
private static void addControlsRecursive ( Interaction inter , Set < Interaction > set ) { for ( Control ctrl : inter . getControlledOf ( ) ) { set . add ( ctrl ) ; addControlsRecursive ( ctrl , set ) ; } }
Adds controls of the given interactions recursively to the given set.
@param inter interaction to add its controls
@param set set to add to