| --- | --- |
| Bugzilla Link | 495255 |
| Status | NEW |
| Importance | P3 enhancement |
| Reported | Jun 02, 2016 04:53 EDT |
| Modified | Jun 02, 2016 04:53 EDT |
| Reporter | Ed Willink |
Description
The OCL Console exploits a selection of a 'self' object in the UML model editor to allow OCL expression evaluation on UML models.
One of my users got in a mess trying to practice Stereotype constraints since there is no selectable stereotype instance. The workaround is to select the stereotyped instance and prefix the OCL evaluation with self.extension_Stereotype...
The UML Model Editor would be more powerful if the stereotype instance was selectable. Selecting <> is ergonomically inconsistent and probably rather hard in the Tree editor, so: I suggest that each stereotype instance has a tree-child similar to that for Ecore superclasses and types. This tree-child could then be selected to define the stereotype instance as the selection for 'self' and clearly view the stereotype properties in the Properties View.
| --- | --- | | Bugzilla Link | 495255 | | Status | NEW | | Importance | P3 enhancement | | Reported | Jun 02, 2016 04:53 EDT | | Modified | Jun 02, 2016 04:53 EDT | | Reporter | Ed Willink |
Description
The OCL Console exploits a selection of a 'self' object in the UML model editor to allow OCL expression evaluation on UML models.
One of my users got in a mess trying to practice Stereotype constraints since there is no selectable stereotype instance. The workaround is to select the stereotyped instance and prefix the OCL evaluation with self.extension_Stereotype...
The UML Model Editor would be more powerful if the stereotype instance was selectable. Selecting <> is ergonomically inconsistent and probably rather hard in the Tree editor, so: I suggest that each stereotype instance has a tree-child similar to that for Ecore superclasses and types. This tree-child could then be selected to define the stereotype instance as the selection for 'self' and clearly view the stereotype properties in the Properties View.