@implementer(IDroneModelAppProcess)
def AdaptAppInstanceToAppProcess(ai):
    pid = ai.pid
    server = ai.server
    ap = AppProcess(server, pid) #can still raise InvalidProcess
    ai.inode = ap.inode #keeps the AppInstance honest
    return ap #this is the new provider
Called when any trait on the tree has changed.
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/models/app.py/AdaptAppInstanceToAppProcess--crossover with--dataset/ETHPy150Open enthought/pyface/examples/tree_viewer.py/MainWindow._on_tree_anytrait_changed