Gets the editor associated with the type, or an instance of RaftRepositoryEditor if none is defined.
The type.
The environment Id that is currently selected.