Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE Screen scraping
VE Screen scraping [message #101708] Tue, 09 August 2005 20:16 Go to next message
Eclipse UserFriend
Originally posted by: renjitheclipse.yahoo.com

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!
Re: VE Screen scraping [message #101950 is a reply to message #101708] Thu, 11 August 2005 01:12 Go to previous message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

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/ImageCaptu re.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=tex t/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!
>
>
Re: VE Screen scraping [message #610239 is a reply to message #101708] Thu, 11 August 2005 01:12 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
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/ImageCaptu re.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=tex t/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!
>
>
Previous Topic:Visual Editor interview with Dave and Gili
Next Topic:One issue
Goto Forum:
  


Current Time: Thu Mar 28 10:10:08 GMT 2024

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

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

Back to the top