Skip to main content


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: 7655
Registered: July 2009
Senior Member
Hi

I'm trying to emulate Slide 44 of
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ 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?

Regards

Ed Willink
Previous Topic:when will papyrus be supporting C++ code generation?
Next Topic:Realizing Constraints
Goto Forum:
  


Current Time: Fri Apr 26 23:48:16 GMT 2024

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

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

Back to the top