class DisplayerHtmlEditor implements IsWidget {

    public boolean showDisplayer() {
        if (sourceCodeEditor.hasErrors()) {
            sourceCodeEditor.focus();
            return false;
        }
        view.showDisplayer(displayer);
        showingDisplayer = true;
        displayer.redraw();
        return true;
    }

    @Inject public  DisplayerHtmlEditor(View view, SourceCodeEditor sourceCodeEditor);

}