|Dynamically extending a model using an xsd scheme [message #663092]
||Sun, 03 April 2011 10:22
| Lior Missing name
Registered: February 2011
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 ?
Powered by FUDForum
. Page generated in 0.01553 seconds