Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDynamically extending a model using an xsd scheme
https://www.eclipse.org/forums/index.php/mv/msg/207110/663092/#msg_663092
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...)