How to create entity in master-detail screen from conrtoller

At the moment i am trying approach it like this, but i get
missing screen exeption, and if i define screen id of master-detail screeen i get
IllegalArgumentException that screen has not implemented EditorScreen: class

@Inject
private GroupTable<SomeEntity> table;

public void createEnt(SomeEntity entity) {
             screenBuilders.editor(table)
                     .newEntity(entity)
                     .build()
                     .show();
}

Hi,
If you need behavior similar to the behavior of “Create” action on the master-detail screen (create new entity and activate right editor panel), then you can copy and modify code from the framework.
It’s located in the MasterDetailScreen class: com.haulmont.cuba.gui.screen.MasterDetailScreen#initBrowseCreateAction