class KieMultipleDocumentEditor implements KieMultipleDocumentEditorPresenter<D> {

    @Override
    public void deregisterDocument(final D document) {
        PortablePreconditions.checkNotNull("document",
                                           document);

        if (!documents.contains(document)) {
            return;
        }

        registeredDocumentsMenuBuilder.deregisterDocument(document);
        document.getLatestPath().dispose();
        documents.remove(document);
    }

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

}