How to open composer (editor) programmatically?

My simple example:

Examples from the core