I am developing a UML like model, but there are several differences from UML one of them is the attribute types. Using UML as example I would like to add an Abstract Class called Attribute and several concrete types attributes which inherit from the abstract class. I would like to add these concrete classes in only one compartment called Attribute instead of creating one compartment for each class.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Exactly ! But when I add a relationship between an abstract class and a concrete one, VS shows me an error. I overcome the problem creating relationships between each concrete type and the X classes.
Would be great if I could associate abstract classes when I am developing the metamodel and later, in the built editor, instantiate concrete classes to "replace" the abstracts
Compartiment with multiple classes to be added
wapmill
Would it be possible to give a little more detail on your domain model and scenario so we can evaluate it for our candidate feature set
thanks,
Gareth
pdinesh
I am developing a UML like model, but there are several differences from UML one of them is the attribute types.
Using UML as example I would like to add an Abstract Class called Attribute and several concrete types attributes which inherit from the abstract class.
I would like to add these concrete classes in only one compartment called Attribute instead of creating one compartment for each class.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
atisoft
Luiz
I'm now trying to create exactly the same behaviour in a designer and hoped that the DSL tools would support this.
Any idea's on a solution yet
Regards,
Jacques
soulfhd
Honestly, I didnt try with the actual CTP version of DSL tools
To work with this problem I have created one compartment for each type of class.
If you have any diferent solution
Please let me know !
If I find the solution I will post it here
Regards
Luiz Ricci
Kenneth Clapp
Would be great if I could associate abstract classes when I am developing the metamodel and later, in the built editor, instantiate concrete classes to "replace" the abstracts
Thanks!
Bigbyte
I see your problem.
I'm guessing that EITHER this feature or the resolution of your other issue would solve the problem
Gareth
Phyoe
alpha T
It works (good enough to me)!
This is what I did.
Create a "abstract" class in your model and relate that to your 'Entity class'
Then derive classes from the abstract class.
In the designer define the connector for the relation above and bind that to your listAppartment.
Presto, it works!
Regards,
Jacques