Search in sources :

Example 16 with ChangeTitleWidgetEvent

use of org.uberfire.client.workbench.events.ChangeTitleWidgetEvent in project kie-wb-common by kiegroup.

the class KieMultipleDocumentEditor method refresh.

private void refresh(final D document) {
    final String documentTitle = getDocumentTitle(document);
    editorView.refreshTitle(documentTitle);
    editorView.showBusyIndicator(CommonConstants.INSTANCE.Loading());
    refreshDocument(document);
    final PlaceRequest placeRequest = document.getPlaceRequest();
    changeTitleEvent.fire(new ChangeTitleWidgetEvent(placeRequest, documentTitle, getTitleWidget(document)));
}
Also used : PlaceRequest(org.uberfire.mvp.PlaceRequest) 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