Skip to main content

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 14:22
Lior Missing name is currently offline Lior Missing nameFriend
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

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

Current Time: Fri Feb 26 18:56:33 GMT 2021

Powered by FUDForum. Page generated in 0.02047 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top