class KieMultipleDocumentEditor implements KieMultipleDocumentEditorPresenter<D> {

    @Override
    public void activateDocument(final D document,
                                 final Overview overview,
                                 final AsyncPackageDataModelOracle dmo,
                                 final Imports imports,
                                 final boolean isReadOnly) {
        PortablePreconditions.checkNotNull("document",
                                           document);
        PortablePreconditions.checkNotNull("overview",
                                           overview);
        PortablePreconditions.checkNotNull("dmo",
                                           document);
        PortablePreconditions.checkNotNull("imports",
                                           imports);

        if (!documents.contains(document)) {
            throw new IllegalArgumentException("Document has not been registered.");
        }

        activeDocument = document;
        registeredDocumentsMenuBuilder.activateDocument(document);

        initialiseVersionManager(document);
        initialiseKieEditorTabs(document,
                                overview,
                                dmo,
                                imports,
                                isReadOnly);
    }

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

}