def _get_root(self, path, aliases):

        components = path.split('/')
        if components[0] in aliases:
            root = aliases[components[0]]

        else:
            root = components[0]

        return root

#### EOF ######################################################################
Return the effective root for a path.
dataset/ETHPy150Open enthought/envisage/envisage/ui/action/action_set_manager.py/ActionSetManager._get_root