40 likes | 235 Views
Demonstration. Invoke the Meta Editor. Overview of Reflective Model Editor. Base Editor. Extension Procedure. Meta Editor. Execute extension operations Assign a graphic notation to a new model element Regenerate the metamodel Restart the base editor. Base Editor.
E N D
Demonstration Invoke the Meta Editor Overview of Reflective Model Editor Base Editor Extension Procedure Meta Editor Execute extension operations Assign a graphic notation to a new model element Regenerate the metamodel Restart the base editor Base Editor
Add a constraint using OCL A class can have at most one UniqueId. self.owner.feature ->select(oclIsTypeOf(UniqueId))->size() <= 1 Show an extension point Rebuild the Base Editor Create a new metaclass Execute extension operations (add attribute, association, …) Assign a graphic notation Meta Editor
This violates the constraint A class can have at most one UniqueId. self.owner.feature ->select(oclIsTypeOf(UniqueId))->size() <= 1 Base Editor can detect this error New model elements are added to the pallet Base Editor
Reusable DSL component Meta Editor Base Editor