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

Inadequate multiline OCL text editing in UML Model Editor #111

Open eclipse-uml2-bot opened 5 hours ago

eclipse-uml2-bot commented 5 hours ago

| --- | --- | | Bugzilla Link | 575290 | | Status | NEW | | Importance | P3 normal | | Reported | Aug 08, 2021 10:39 EDT | | Modified | Aug 08, 2021 11:01 EDT | | Reporter | Ed Willink |

Description

The display of a multi-line OCL expression in

Workaround. Fortunate;ly the Value Pane of the Add/Remove Dialog displays the full text so the workaround is to Remove, view then Add again.

As a minimum, the Feature Pane should show multiple lines like the View Pane in order to allow a no-edit view.

Better show the full text in the Properties Biew, Possibly as with the GenModel copyright text, by showing on click.

Better still show full text in hover text.

eclipse-uml2-bot commented 5 hours ago

By Ed Willink on Aug 08, 2021 10:53

The whole Add/Remove dialog seems wierd; a spurious re-use of Stereotype ergonomics.

To edit the GenModel copyright I can cick and edit.

To edit OCL, I have to, double click, Remove, edit, Add.

Why not just adopt the copyright text ergonomics?

eclipse-uml2-bot commented 5 hours ago

By Ed Willink on Aug 08, 2021 11:01

(In reply to Ed Willink from comment #1)

Why not just adopt the copyright text ergonomics?

Ok. Something different is needed to support distinct OCL/Body/..., but surely this requires a dialog that can edit the lanaguage/text pairs as ;pairs, not as indpendent liusts that can easily be out of synch.