class EditHTMLPresenter {

    void okClick() {
        view.hide();
        modalConfigurationContext.setComponentProperty(HTMLLayoutDragComponent.HTML_CODE_PARAMETER,
                                                       htmlEditor.getContent());
        destroyHtmlEditor();
        modalConfigurationContext.configurationFinished();
    }

    @Inject public  EditHTMLPresenter(final View view,
                             final HtmlEditorPresenter htmlEditor);

}