Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dynamically extending a model using an xsd scheme
Dynamically extending a model using an xsd scheme [message #663092] Sun, 03 April 2011 10:22
Lior Missing name is currently offline Lior Missing name
Messages: 18
Registered: February 2011
Junior Member
Hello everyone!
I have an xsd scheme that describes several elements. (lets say these elements can be categorized into 2 groups - Apples and Oranges)
I created a general emf model for these apples and oranges, and would like to dynamically extend the model to include the elements in the xsd file, so each element will inherit from the respective parent class that was 'hard-coded'
(for example, if I have a blue apple in the xsd file with several unique attributes that cannot be generalized, I would like the model to be extended to include it dynamically)

In addition (and this is the main GMF part) is there any way to dynamically add these elements to the their respective place in the palette? (under "Apples" or "Oranges" tool group...)

Can anyone give me a hint ? Smile

Thanks!
Previous Topic:UML.Ecore and Activity Diagram
Next Topic:GMF Resource vs Pathmaps
Goto Forum:
  


Current Time: Thu Aug 28 11:24:03 EDT 2014

Powered by FUDForum. Page generated in 0.02510 seconds