Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Rap e4 UISynchronize
Rap e4 UISynchronize [message #1851953] Fri, 22 April 2022 16:45
Gabe Colburn is currently offline Gabe ColburnFriend
Messages: 28
Registered: December 2012
Junior Member
I was implementing a progress monitor widget for the eclipse jobs API based on RCP e4 examples using UISynchronize (dependency injected) to update the progress bar.

As new user sessions were created in parallel, the progress bar would only update on the latest UI session. I assume UISynchronize isn't implemented in RAP to handle multiple UI sessions (based on their RAP UI thread)?

Since I have jobs running for specific users, I expect to need to track which UI Session/Display the job is for, and add some logic in the UI to only update progress bars for jobs submitted by that UISession. Instead of using the UISynchronize that gets injected, use Display.asyncExec();

Does embedding session information in the job sound like the right approach to implement a progress monitor for the jobs API in RAP e4? This is to monitor user session specific jobs, not global jobs across all users.

Open to suggestions on alternate approaches as well.

Previous Topic:RAP Chart - dataset.label
Next Topic:RAP Support for QuickAccess
Goto Forum:

Current Time: Thu Jul 18 05:15:45 GMT 2024

Powered by FUDForum. Page generated in 0.03918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top