public abstract class AbstractWorkbenchPartPresenter extends Object implements WorkbenchPartPresenter
WorkbenchPartPresenter.View| Constructor and Description |
|---|
AbstractWorkbenchPartPresenter(WorkbenchPartPresenter.View view) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContextId() |
org.uberfire.workbench.model.PartDefinition |
getDefinition() |
org.uberfire.workbench.model.menu.Menus |
getMenus()
Returns the menus associated with this part.
|
WorkbenchPartPresenter.View |
getPartView() |
String |
getTitle()
Returns the text that a panel may choose to display beside this part's title.
|
com.google.gwt.user.client.ui.IsWidget |
getTitleDecoration()
Returns the widget that a panel may choose to display beside this part's title.
|
void |
setContextId(String contextId) |
void |
setDefinition(org.uberfire.workbench.model.PartDefinition definition) |
void |
setMenus(org.uberfire.workbench.model.menu.Menus menus)
Sets the menus associated with this part.
|
void |
setTitle(String title)
Sets the text that a panel may choose to display beside this part's title.
|
void |
setTitleDecoration(com.google.gwt.user.client.ui.IsWidget titleDecoration)
Sets the widget that a panel may choose to display beside this part's title.
|
void |
setWrappedWidget(com.google.gwt.user.client.ui.IsWidget widget) |
@Inject public AbstractWorkbenchPartPresenter(WorkbenchPartPresenter.View view)
public org.uberfire.workbench.model.PartDefinition getDefinition()
getDefinition in interface WorkbenchPartPresenterpublic void setDefinition(org.uberfire.workbench.model.PartDefinition definition)
setDefinition in interface WorkbenchPartPresenterpublic WorkbenchPartPresenter.View getPartView()
getPartView in interface WorkbenchPartPresenterpublic void setWrappedWidget(com.google.gwt.user.client.ui.IsWidget widget)
setWrappedWidget in interface WorkbenchPartPresenterpublic String getTitle()
WorkbenchPartPresenterMultiTabWorkbenchPanelPresenter uses this text for the tab's label.getTitle in interface WorkbenchPartPresenterpublic void setTitle(String title)
WorkbenchPartPresenterMultiTabWorkbenchPanelPresenter uses this text for the tab's label.setTitle in interface WorkbenchPartPresentertitle - The title of this part. Null is not permitted.public org.uberfire.workbench.model.menu.Menus getMenus()
WorkbenchPartPresentergetMenus in interface WorkbenchPartPresenterpublic void setMenus(org.uberfire.workbench.model.menu.Menus menus)
WorkbenchPartPresentersetMenus in interface WorkbenchPartPresentermenus - the menus associated with this part. Can be null, which means this part does not have menus.public com.google.gwt.user.client.ui.IsWidget getTitleDecoration()
WorkbenchPartPresentergetTitleDecoration in interface WorkbenchPartPresenterpublic void setTitleDecoration(com.google.gwt.user.client.ui.IsWidget titleDecoration)
WorkbenchPartPresenterNOTE: presently, none of the built-in panel types display a part's title decoration.
setTitleDecoration in interface WorkbenchPartPresentertitleDecoration - The title decoration widget to use. Null is permitted, and means no title decoration.public String getContextId()
getContextId in interface WorkbenchPartPresenterpublic void setContextId(String contextId)
setContextId in interface WorkbenchPartPresenterCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.