class RegisteredDocumentsMenuBuilder implements MenuFactory.CustomMenuBuilder,
                                                       RegisteredDocumentsMenuView.Presenter {

    @PostConstruct
    void setup() {
        view.init(this);
        view.enableNewDocumentButton(false);
        view.enableOpenDocumentButton(false);
        this.isReadOnly = false;
    }

    @Inject public  RegisteredDocumentsMenuBuilder(final RegisteredDocumentsMenuView view,
                                          final ManagedInstance<DocumentMenuItem> documentMenuItemProvider);

}