@Dependent @Templated public class HtmlEditorView extends Object implements HtmlEditorPresenter.View, org.jboss.errai.ui.client.local.api.IsElement
| Modifier and Type | Field and Description |
|---|---|
static int |
HTML_EDITOR_MARGIN |
| Constructor and Description |
|---|
HtmlEditorView(org.jboss.errai.ui.client.local.spi.TranslationService translationService,
HtmlEditorLibraryLoader libraryLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
alertReadOnly() |
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
configureScreenComponents(String editorId,
String toolbarId) |
boolean |
confirmClose() |
void |
docksInteractionEvent(UberfireDocksInteractionEvent event) |
String |
getContent() |
protected String |
getOffsetHeight(org.jboss.errai.common.client.dom.HTMLElement el) |
EditorTitle |
getTitleWidget() |
void |
hideBusyIndicator() |
void |
init(HtmlEditorPresenter presenter) |
protected void |
initEditor(String editorId,
String toolbarId) |
void |
load() |
protected void |
loadEditor(String editorId,
String toolbarId) |
void |
postConstruct() |
void |
refreshTitle(String value) |
void |
setContent(String content) |
void |
showBusyIndicator(String message) |
void |
showLoading() |
void |
showSaving() |
void |
synchronizeView() |
public static final int HTML_EDITOR_MARGIN
@Inject
public HtmlEditorView(org.jboss.errai.ui.client.local.spi.TranslationService translationService,
HtmlEditorLibraryLoader libraryLoader)
public void init(HtmlEditorPresenter presenter)
init in interface HasPresenter<HtmlEditorPresenter>@PostConstruct public void postConstruct()
public void load()
load in interface HtmlEditorPresenter.Viewpublic String getContent()
getContent in interface HtmlEditorPresenter.Viewpublic void setContent(String content)
setContent in interface HtmlEditorPresenter.Viewpublic final void synchronizeView()
protected void configureScreenComponents(String editorId, String toolbarId)
public void docksInteractionEvent(@Observes
UberfireDocksInteractionEvent event)
protected String getOffsetHeight(org.jboss.errai.common.client.dom.HTMLElement el)
public void alertReadOnly()
alertReadOnly in interface BaseEditorViewpublic void showLoading()
showLoading in interface BaseEditorViewpublic void showSaving()
showSaving in interface BaseEditorViewpublic EditorTitle getTitleWidget()
getTitleWidget in interface BaseEditorViewpublic void refreshTitle(String value)
refreshTitle in interface BaseEditorViewpublic void showBusyIndicator(String message)
showBusyIndicator in interface HasBusyIndicatorpublic void hideBusyIndicator()
hideBusyIndicator in interface HasBusyIndicatorpublic boolean confirmClose()
confirmClose in interface BaseEditorViewpublic com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.