use of org.uberfire.client.workbench.events.ChangeTitleWidgetEvent in project kie-wb-common by kiegroup.
the class UserHomePageSidePresenter method setupUserMenu.
private void setupUserMenu(SocialUser userOnPage) {
String userName = (userOnPage != null && userOnPage.getRealName() != null && !userOnPage.getRealName().isEmpty()) ? userOnPage.getRealName() : userOnPage.getUserName();
view.setupUserInfo(userName, setupSideUserInfoPresenter(userOnPage));
final String title = Constants.INSTANCE.UserNameProfile(userName);
changeTitleWidgetEvent.fire(new ChangeTitleWidgetEvent(this.place, title));
}
use of org.uberfire.client.workbench.events.ChangeTitleWidgetEvent in project drools-wb by kiegroup.
the class GuidedDecisionTableGraphEditorPresenter method onRename.
void onRename() {
reload();
changeTitleEvent.fire(new ChangeTitleWidgetEvent(editorPlaceRequest, getTitleText(), editorView.getTitleWidget()));
}
use of org.uberfire.client.workbench.events.ChangeTitleWidgetEvent in project kie-wb-common by kiegroup.
the class DiagramEditorPropertiesScreen method updateTitle.
private void updateTitle(final String title) {
// Change screen title.
DiagramEditorPropertiesScreen.this.title = title;
changeTitleNotificationEvent.fire(new ChangeTitleWidgetEvent(placeRequest, this.title));
}
use of org.uberfire.client.workbench.events.ChangeTitleWidgetEvent in project kie-wb-common by kiegroup.
the class SessionDiagramPreviewScreen method doUpdateTitle.
@Override
protected void doUpdateTitle(final String title) {
// Change screen title.
SessionDiagramPreviewScreen.this.title = title;
changeTitleNotificationEvent.fire(new ChangeTitleWidgetEvent(placeRequest, this.title));
}
use of org.uberfire.client.workbench.events.ChangeTitleWidgetEvent in project kie-wb-common by kiegroup.
the class SessionTreeExplorerScreen method doUpdateTitle.
protected void doUpdateTitle(final String title) {
// Change screen title.
SessionTreeExplorerScreen.this.title = title;
changeTitleNotificationEvent.fire(new ChangeTitleWidgetEvent(placeRequest, this.title));
}
Aggregations