Search in sources :

Example 6 with ChangeTitleWidgetEvent

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));
}
Also used : ChangeTitleWidgetEvent(org.uberfire.client.workbench.events.ChangeTitleWidgetEvent)

Example 7 with ChangeTitleWidgetEvent

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()));
}
Also used : ChangeTitleWidgetEvent(org.uberfire.client.workbench.events.ChangeTitleWidgetEvent)

Example 8 with ChangeTitleWidgetEvent

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));
}
Also used : ChangeTitleWidgetEvent(org.uberfire.client.workbench.events.ChangeTitleWidgetEvent)

Example 9 with ChangeTitleWidgetEvent

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));
}
Also used : ChangeTitleWidgetEvent(org.uberfire.client.workbench.events.ChangeTitleWidgetEvent)

Example 10 with ChangeTitleWidgetEvent

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));
}
Also used : ChangeTitleWidgetEvent(org.uberfire.client.workbench.events.ChangeTitleWidgetEvent)

Aggregations

ChangeTitleWidgetEvent (org.uberfire.client.workbench.events.ChangeTitleWidgetEvent)16 Next (org.ext.uberfire.social.activities.client.widgets.pagination.Next)1 SimpleSocialTimelineWidgetModel (org.ext.uberfire.social.activities.client.widgets.timeline.simple.model.SimpleSocialTimelineWidgetModel)1 UserTimeLineOnlyUserActivityPredicate (org.kie.workbench.common.screens.social.hp.predicate.UserTimeLineOnlyUserActivityPredicate)1 PlaceRequest (org.uberfire.mvp.PlaceRequest)1