Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » GTK/Hildon widgets
GTK/Hildon widgets [message #120310] Thu, 09 March 2006 17:04 Go to next message
Eclipse UserFriend
Originally posted by: raulherbster.gmail.com

Hi!
Visual Editor is "...useful for creating GUI builders for other languages
such as C/C++ and alternate widget sets, including those that are not
supported under Java."

I read the article "Extending the Visual Editor Tutorial: Enabling support
for a custom widget", but models and beans are focused on Java; C/C++
widgets are not described. Could anyone help me and explain which is the
initial point to extend Visual Editor and add support for GTK/Hildon
widgets?

Best regards.
Re: GTK/Hildon widgets [message #120322 is a reply to message #120310] Thu, 09 March 2006 23:37 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Hi Raul,

As far as I know, no one has undertaken the effort to make a UI editor
for C/C++ based off the VE project. Take a look at this diagram
describing the VE architecture:
http://www.eclipse.org/vep/WebContent/docs/architecture/arch itecture.html

This is a basic overview of what would be involved:

1. Create a model (VE uses an EMF model for Java) of the target language
2. Create a method of dynamically manipulating a visual representation
of the design target, and capturing that visual representation (This is
the function of the Bean Proxies, the target VMs and the screen capture
mechanisms on the target VMs)
3. Implement graphical editing behaviors for your widget set in GEF
(composing the widgets with individual edit parts, and providing
graphical feedback for the laying out the widgets), and manipulate the
model according to the graphical actions performed.
4. Provide a code generation system to reflect the state of the model in
source code and optionally track changes to the source code and change
the model accordingly.

So yeah it's a tough challenge to undertake :)

- Jeff
Re: GTK/Hildon widgets [message #612292 is a reply to message #120310] Thu, 09 March 2006 23:37 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Hi Raul,

As far as I know, no one has undertaken the effort to make a UI editor
for C/C++ based off the VE project. Take a look at this diagram
describing the VE architecture:
http://www.eclipse.org/vep/WebContent/docs/architecture/arch itecture.html

This is a basic overview of what would be involved:

1. Create a model (VE uses an EMF model for Java) of the target language
2. Create a method of dynamically manipulating a visual representation
of the design target, and capturing that visual representation (This is
the function of the Bean Proxies, the target VMs and the screen capture
mechanisms on the target VMs)
3. Implement graphical editing behaviors for your widget set in GEF
(composing the widgets with individual edit parts, and providing
graphical feedback for the laying out the widgets), and manipulate the
model according to the graphical actions performed.
4. Provide a code generation system to reflect the state of the model in
source code and optionally track changes to the source code and change
the model accordingly.

So yeah it's a tough challenge to undertake :)

- Jeff
Previous Topic:GTK/Hildon widgets
Next Topic:Java API
Goto Forum:
  


Current Time: Fri Dec 27 08:38:18 GMT 2024

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

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

Back to the top