Sets the current plugin item to the inputed plugin.
        
        :param      plugin | <XConfigPlugin> || None

def setCurrentPlugin( self, plugin ):
        """
        Sets the current plugin item to the inputed plugin.
        
        :param      plugin | <XConfigPlugin> || None
        """
        if ( not plugin ):
            self.uiPluginTREE.setCurrentItem(None)
            return
            
        for i in range(self.uiPluginTREE.topLevelItemCount()):
            item = self.uiPluginTREE.topLevelItem(i)
            for c in range(item.childCount()):
                pitem = item.child(c)
                
                if ( pitem.plugin() == plugin ):
                    self.uiPluginTREE.setCurrentItem(pitem)