public interface WorkbenchPartPresenter
Modifier and Type | Interface and Description |
---|---|
static interface |
WorkbenchPartPresenter.View |
Modifier and Type | Method and Description |
---|---|
String |
getContextId() |
PartDefinition |
getDefinition() |
void |
getMenus(Consumer<Menus> menusConsumer)
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(PartDefinition definition) |
void |
setMenus(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) |
PartDefinition getDefinition()
void setDefinition(PartDefinition definition)
WorkbenchPartPresenter.View getPartView()
void setWrappedWidget(com.google.gwt.user.client.ui.IsWidget widget)
String getTitle()
MultiTabWorkbenchPanelPresenter
uses this text for the tab's label.void setTitle(String title)
MultiTabWorkbenchPanelPresenter
uses this text for the tab's label.title
- The title of this part. Null is not permitted.void setMenus(Menus menus)
menus
- the menus associated with this part. Can be null, which means this part does not have menus.com.google.gwt.user.client.ui.IsWidget getTitleDecoration()
void setTitleDecoration(com.google.gwt.user.client.ui.IsWidget titleDecoration)
NOTE: presently, none of the built-in panel types display a part's title decoration.
titleDecoration
- The title decoration widget to use. Null is permitted, and means no title decoration.String getContextId()
void setContextId(String contextId)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.