[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Re: VE Screen scraping

Renjith,

The code that performs the SWT screen scraping (on Windows) is here:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ve.swt/vm_swt/org/eclipse/ve/internal/swt/targetvm/win32/ImageCapture.java?rev=1.11&cvsroot=Tools_Project&content-type=text/vnd.viewcvs-markup

This is done on a separate Java VM that is used to model the UI design. The image is transferred through the Java proxies to the editor, then displayed in GEF figures - see ControlGraphicalEditPart: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ve.swt/ve_swt/org/eclipse/ve/internal/swt/ControlGraphicalEditPart.java?rev=1.26&cvsroot=Tools_Project&content-type=text/vnd.viewcvs-markup


Hope this helps, - Jeff

Renjith wrote:
Hi,

Iam trying to understand how VE does the screen scraping from a SWT widget to present as an ImageFigure in GEF. Can anyone please help?
My objective is to build a lightweight form designer using GEF that would store the form information in an xml file. I think VE/EMF is too heavyweight for this. Any Thoughts?


Thanks for the help!