|
Greetings - I'm building a DSL and I've got a question. Once in the DSLs designer, for a specific property on an instance of a Domain Class, I would the property to provide a *filtered* selection list of other instances of Domain Classes.
For example, if I have a instance of a Domain Class named "Attribute" and it has two properties, one is "Name" and the other is "Type". I might set the "Name" property to "HomePhone" and the "Type" property to "PhoneNumber". I want the value "PhoneNumber" to point to some other instance of a Domain Class named "PhoneNumber".
Basically, I want user to be able to create a diagram that models their business objects, and have the ability to use there business objects as types to select from.
Any ideas? (apologies if my explanation is confusing)
Thanks,
Jordan T. |