[DF-581] const reference for some methods in UIEditor