adapted to new UberFire extension's common editor infrastructure