public abstract class AbstractSubDockPresenter<T extends SubDockView> extends Object implements SubDockView.Presenter
| Modifier and Type | Field and Description |
|---|---|
protected org.uberfire.backend.vfs.ObservablePath |
currentPath |
static int |
DEFAULT_PREFERRED_WIDHT |
protected String |
title |
protected T |
view |
| Constructor and Description |
|---|
AbstractSubDockPresenter() |
AbstractSubDockPresenter(T view) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
org.uberfire.workbench.model.Position |
getDefaultPosition() |
String |
getTitle() |
boolean |
isCurrentlyShow(org.uberfire.backend.vfs.ObservablePath path)
Verify if the current
SubDock already shows data of the currently shown editor. |
void |
setCurrentPath(org.uberfire.backend.vfs.ObservablePath path)
Set the
ObservablePath of the currently shown editor view |
void |
setup() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetpublic static final int DEFAULT_PREFERRED_WIDHT
protected String title
protected T extends SubDockView view
protected org.uberfire.backend.vfs.ObservablePath currentPath
public AbstractSubDockPresenter()
public AbstractSubDockPresenter(T view)
@PostConstruct public void setup()
public org.uberfire.workbench.model.Position getDefaultPosition()
public String getTitle()
public com.google.gwt.user.client.ui.Widget asWidget()
public void setCurrentPath(org.uberfire.backend.vfs.ObservablePath path)
SubDockView.PresenterObservablePath of the currently shown editor viewsetCurrentPath in interface SubDockView.Presenterpublic boolean isCurrentlyShow(org.uberfire.backend.vfs.ObservablePath path)
SubDockView.PresenterSubDock already shows data of the currently shown editor.
This is used to avoid unneeded re-population of the SubDockisCurrentlyShow in interface SubDockView.Presentertrue if given ObservablePath is equals to the current path of this SubDockCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.