[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt.amw] dynamic attribute type

                        Hi Marcos,

        Another question on the definition of the weaving metamodel.

        Is it possible to add dynamic attribute types.
        
        Here is a simple example

        class Modification
        {
                attribute type : EcoreType;
                attribute newValue : Integer;
        }

        enumeration EcoreType {
                literal "Boolean";
                literal "String";
                literal "Integer";
        }

        I would like to have the type of attribute to depend on the selected
EcoreType rather than Integer.

        thnx in advance.
        
        regards,
                Aram.

-- 
Aram Hovsepyan
Distrinet research group
Katholieke Universiteit Leuven