public void attachController ( BaseComponent comp , IAutoWired controller ) { plugin . tryRegisterListener ( controller , true ) ; comp . wireController ( controller ) ; }
Attaches a controller to the specified component and registers any recognized listeners to the plugin .