eclipse-uml2 / uml2

An EMF-based implementation of the UML 2.x metamodel for the Eclipse platform.
Eclipse Public License 2.0
5 stars 4 forks source link

Provide a UML Model Editor stereotype instance selection #80

Open eclipse-uml2-bot opened 1 week ago

eclipse-uml2-bot commented 1 week ago

| --- | --- | | 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.