use of org.uberfire.lifecycle.OnOpen in project kie-wb-common by kiegroup.
the class ProjectDiagramPropertiesScreen method onOpen.
@OnOpen
public void onOpen() {
log(Level.INFO, "Opening ProjectDiagramPropertiesScreen.");
final ClientSession current = clientSessionManager.getCurrentSession();
handleSession(current);
}
use of org.uberfire.lifecycle.OnOpen in project kie-wb-common by kiegroup.
the class SocialHomePageSidePresenter method onOpen.
@OnOpen
public void onOpen() {
final SocialPaged socialPaged = new SocialPaged(5);
socialUserRepositoryAPI.call(new RemoteCallback<SocialUser>() {
public void callback(SocialUser socialUser) {
SimpleSocialTimelineWidgetModel model = new SimpleSocialTimelineWidgetModel(socialUser, new UserTimeLineFileChangesPredicate(), placeManager, socialPaged).withOnlyMorePagination(new Next() {
{
setText(Constants.INSTANCE.PaginationMore());
}
}).withIcons(iconLocator.getResourceTypes()).withLinkCommand(generateLinkCommand());
view.setupWidget(model);
}
}).findSocialUser(loggedUser.getIdentifier());
}
Aggregations