[idl] reduce steps needed to use idls from cmake
[idl] add example of using ::Editor class