def _on_action_accelerator_changed(self, action, trait_name, old, new):
        if self.control is not None:
            self.control.setShortcut(action.accelerator)
Gets the path to a BUILD file, given a directory or file.
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/action/action_item.py/_Tool._on_action_accelerator_changed--crossover with--dataset/ETHPy150Open google/anvil-build/anvil/util.py/get_build_file_path