@ Override public void afterInitialized ( BaseComponent comp ) { super . afterInitialized ( comp ) ; PluginContainer container = comp . getAncestor ( PluginContainer . class , true ) ; plugin = ( ElementPlugin ) ElementUI . getAssociatedElement ( container ) ; }
Wire controller from toolbar components first then from plugin .