Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Realizing Constraints
Realizing Constraints [message #606009] Sun, 15 August 2010 05:45
Ed Willink is currently offline Ed WillinkFriend
Messages: 5834
Registered: July 2009
Senior Member

I'm trying to emulate Slide 44 of EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
using Papyrus.

The support for Constraints seems very counter-intuitive.

a) A Constraint must be dropped as a top-level diagram element;
a Properties entry does not seem to be present.

b) The Constraint can then be given a Context from the Properties
drop-down; an edge does not seem to be possible.

c) The Properties offers a large 'Constrained Elements' entry field,
but only a small Specification field.

d) The Specification field allows only selection of literals already
defined; no ability to create a new OCL expression.

e) Giving an operation constraint a BodyCondition role is not possible
using e.g. a <<body>> sterotype.

f) The Specification is not displayed within the {} of the Constraint.

It seems that Papyrus provides some creation help through the Constraint
node but full entry requires detailed understanding of UML and use of
the UML2 model level editing.

Am I missing something?


Ed Willink
Previous Topic:State machine diagram using papyrus
Next Topic:Realizing Constraints
Goto Forum:

Current Time: Sun Apr 22 07:01:48 GMT 2018

Powered by FUDForum. Page generated in 0.01712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software