public class RepositoryPresenter extends com.gwtplatform.mvp.client.Presenter<RepositoryPresenter.MyView,RepositoryPresenter.MyProxy> implements EditorResizeEvent.ResizeListener, ModelEditor.Presenter
| Modifier and Type | Class and Description |
|---|---|
static interface |
RepositoryPresenter.MyProxy |
static interface |
RepositoryPresenter.MyView |
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<com.gwtplatform.mvp.client.proxy.RevealContentHandler<?>> |
TYPE_MainContent |
| Constructor and Description |
|---|
RepositoryPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
RepositoryPresenter.MyView view,
RepositoryPresenter.MyProxy proxy,
SampleRepository sampleRepository,
DispatchAsync dispatcher,
CoreGUIContext globalContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadDir(Entry dir,
boolean clearHistory) |
void |
loadFile(Entry selection) |
void |
onActivate() |
protected void |
onBind() |
void |
onPassivate() |
void |
onReify(String name) |
protected void |
onReset() |
void |
onResetDialog() |
void |
onResizeRequested(boolean fullscreen) |
void |
onSave(String xml) |
void |
onVisualize() |
protected void |
revealInParent() |
void |
setDisableCache(boolean disableCache) |
bind, 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 com.google.gwt.event.shared.GwtEvent.Type<com.gwtplatform.mvp.client.proxy.RevealContentHandler<?>> TYPE_MainContent
@Inject
public RepositoryPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
RepositoryPresenter.MyView view,
RepositoryPresenter.MyProxy proxy,
SampleRepository sampleRepository,
DispatchAsync dispatcher,
CoreGUIContext globalContext)
protected void onBind()
onBind in class com.gwtplatform.mvp.client.HandlerContainerImplpublic void onResizeRequested(boolean fullscreen)
onResizeRequested in interface EditorResizeEvent.ResizeListenerprotected void onReset()
onReset in class com.gwtplatform.mvp.client.PresenterWidget<RepositoryPresenter.MyView>public void setDisableCache(boolean disableCache)
public void onVisualize()
public void onReify(String name)
public void onActivate()
public void onResetDialog()
public void onPassivate()
public void onSave(String xml)
onSave in interface ModelEditor.Presenterprotected void revealInParent()
revealInParent in class com.gwtplatform.mvp.client.Presenter<RepositoryPresenter.MyView,RepositoryPresenter.MyProxy>public void loadDir(Entry dir, boolean clearHistory)
public void loadFile(Entry selection)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.