public class LogFilesPresenter extends CircuitPresenter<LogFilesPresenter.MyView,LogFilesPresenter.MyProxy>
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogFilesPresenter.MyProxy |
static interface |
LogFilesPresenter.MyView |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_FILE_SIZE_THRESHOLD
If log files are bigger than this threshold a confirmation dialog is displayed.
|
static int |
SHOW_STREAM_IN_PROGRESS_TIMEOUT
If the streaming of a log files takes longer then this timeout,
the
StreamingProgress modal is displayed. |
| Constructor and Description |
|---|
LogFilesPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
LogFilesPresenter.MyView view,
LogFilesPresenter.MyProxy proxy,
RevealStrategy revealStrategy,
org.jboss.gwt.circuit.Dispatcher circuit,
LogStore logStore,
HostStore hostStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAction(org.jboss.gwt.circuit.Action action)
When this method is called it's guaranteed that the presenter is visible.
|
protected void |
onBind() |
protected void |
onError(org.jboss.gwt.circuit.Action action,
String reason)
When this method is called it's guaranteed that the presenter is visible.
|
protected void |
onReset() |
void |
onStreamLogFile(String logFile,
int fileSize) |
protected void |
revealInParent() |
addChangeHandler, onError, onUnbindbind, forceReveal, getProxy, getRevealType, getSlot, prepareFromRequest, setRevealType, setSlot, unbind, useManualRevealaddHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, fireEvent, getEventBus, getView, getWidget, isVisible, onHide, onReveal, removeFromPopupSlot, removeFromSlot, setInSlot, setInSlotpublic static final int LOG_FILE_SIZE_THRESHOLD
public static final int SHOW_STREAM_IN_PROGRESS_TIMEOUT
StreamingProgress modal is displayed.@Inject
public LogFilesPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
LogFilesPresenter.MyView view,
LogFilesPresenter.MyProxy proxy,
RevealStrategy revealStrategy,
org.jboss.gwt.circuit.Dispatcher circuit,
LogStore logStore,
HostStore hostStore)
protected void onBind()
onBind in class com.gwtplatform.mvp.client.HandlerContainerImplpublic void onAction(org.jboss.gwt.circuit.Action action)
CircuitPresenteronAction in class CircuitPresenter<LogFilesPresenter.MyView,LogFilesPresenter.MyProxy>protected void onError(org.jboss.gwt.circuit.Action action,
String reason)
CircuitPresenteronError in class CircuitPresenter<LogFilesPresenter.MyView,LogFilesPresenter.MyProxy>protected void revealInParent()
revealInParent in class com.gwtplatform.mvp.client.Presenter<LogFilesPresenter.MyView,LogFilesPresenter.MyProxy>protected void onReset()
onReset in class com.gwtplatform.mvp.client.PresenterWidget<LogFilesPresenter.MyView>public void onStreamLogFile(String logFile, int fileSize)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.