|Tools Palette elements directly from Java [message #894555]
||Mon, 09 July 2012 11:08
| Tomas T
Registered: July 2012
Hi GMF experts,|
I have just started to play with GMF framework and I have few questions:
I have created a dummy plugin that has several elements in tools palette and they can be added into graphical diagram and linked together with connection element from tools palette. All this was generated by using eclipse GMF plugin.
As I see, all elements types and element types binding are listed in generated plugin.xml under:
Additionally, modelling assistant provider is registered in org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders extension point
and view provider is registered under:
My question would be:
Is it possible to add new elements directly from Java code without using data information from plugin.xml?
To be more clear:
How can I add new element type to org.eclipse.gmf.runtime.emf.type.core.elementTypes from Java?
How can I add new element type binding to org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings from Java?
How can I add EditPart implementation for that new element to registered modelling assistant from Java?
How can I add semantic hint for newly created element into registered view provider from Java?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.29426 seconds