class KieMultipleDocumentEditor implements KieMultipleDocumentEditorPresenter<D> {

    void onRepositoryRemoved(final @Observes RepositoryRemovedEvent event) {
        Optional.ofNullable(workbenchContext)
                .flatMap(context -> context.getActiveWorkspaceProject())
                .filter(proj -> event.getRepository() != null && proj.getRepository().equals(event.getRepository()))
                .ifPresent(repo -> enableMenus(false));
    }

      KieMultipleDocumentEditor();
    public  KieMultipleDocumentEditor(final KieEditorView editorView);

}