[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Is it possible to develop GUI builder based on GMF?

Hi all,

we plan to develop a gui builder, but I'm not sure what framework should the 
gui builder based, GMF runtime or GEF, which is the better option?

the gui builder should have the following basic features:
1. code generation.
different widget can generate different code block when dragged onto the 
graphical editor, and the code can be seen on the source page.

2. extensibility.
easy to extend. user can contribute his widget easily(palette entry,edit 
part, code generator, property editor etc.)

I spend some time in GMF runtime, and find that if I define models for every 
widget , I should do the following steps to contribute a new widget:
1. define a new ecore model(based on existed ecore model).
2. generate model code from the ecore model using EMF code generator
3. register the new model via the extension point£ºorg.eclipse.emf.ecore.generated_package
4. define several GMF extensions such as:
    org.eclipse.gmf.runtime.diagram.ui.paletteProviders
    org.eclipse.gmf.runtime.emf.type.core.elementTypes
    org.eclipse.gmf.runtime.diagram.ui.editpartProviders
    org.eclipse.gmf.runtime.diagram.core.viewProviders

but it is too complicated to extend, is there anyone experienced in this, 
and give some suggestions?  thanks!