Community
Participate
Working Groups
We need a common way of requesting from the remote vm side a refresh of the image for a specified control. Specifically we need this on SWT in order to listen to the locationChanged event on a browser and refresh the image when the page loading completes.
In VE 1.1 this is done by doing revalidate() on the BeanProxyAdapter.
closing. However, we do not have code for listening on the browser. We would need a defect for just that.
I took a quick look at the BeanProxyAdapter, and it's in the VE Java Core jar. This isn't available to the remote vm side, right? This bug is about pushing from the remote vm to tell the editor the image needs to be refreshed, not a request from the editor to refresh the image.
Ok, I see. Actually it can be done from the IDE side by adding a listener on the remote vm side to signal back when the browser is done and then make a request for an image. But there should be an easier way from the remote vm side to do this. Most of the code is there, just a few timing problems to think about. Will leave this open.