モデルからエディタを取得する
モデルからエディタを取得するにはIModelオブジェクトのGetEditorsメソッドを用います。
public void GetEditors(ICommandContext c, ICommandParams p)
{
    IModel model = c.App.Workspace.CurrentModel;
    // エディタ一覧を取得します
    var editors = model.GetEditors();
    if (editors.Count() == 0)
    {
        c.App.Output.WriteLine("sample", "エディタがありません。");
        return;
    }
    else
    {
        int count = 1;
        foreach (var editor in editors) {
            // エディタの情報を出力します
            c.App.Output.WriteLine("sample", $"{count}個目 定義名 : {editor.ViewDefinitionName} / 種類 : {editor.EditorType}");
            count++;
        }
    }
}