Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MDT/UML2/New and Noteworthy/Kepler

< MDT‎ | UML2
Revision as of 23:57, 20 May 2013 by Kenn.hussey.gmail.com (Talk | contribs) (New page: MDT UML2 New and Noteworthy items for the Kepler release. == Milestone 5 == This milestone was completed on February 4, 2013. ====Bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=273...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MDT UML2 New and Noteworthy items for the Kepler release.

Milestone 5

This milestone was completed on February 4, 2013.

Bug 273948

The UML exporter now supports references to existing UML models instead of redundantly exporting duplicate UML resources.

273948.png

Bug 295864

The "at most one return" constraint for operations is now evaluated by the UML validator.

295864.png

Bug 297216

The OccurrenceSpecification::covered upper bound constraint (which redefines the upper bound from InteractionFragment::covered) is now enforced by the UML validator.

297216.png

Bug 316165

A new 'XMI Identifiers' option has been added to the Ecore to UML converter. When enabled (by setting the option to "PROCESS") the converter will assign "consumable" XMI identifiers to the resulting UML elements.

316165.png

Bug 366289

The UML importer for EMF models now uses the mapped resource locator (provided by EMF) to more efficiently look up repeated pathmap references.

366289.png

Bug 389495

New addToContainmentList(Element, EObject) and removeFromContainmentList(Element, EObject) methods have been added to the StereotypeApplicationHelper base class.

389495.png

Bug 394623

The UML2 code generator has been enhanced to generate a "DerivedUnionAdapter" utility class which can be used to obtain notifications when a feature that affects the value of a derived union has changed. Such an adapter (UMLDerivedUnionAdapter) has been generated for UML and can be found in the org.eclipse.uml2.uml.util package.

394623.png

Milestone 6

This milestone was completed on March 18, 2013.

Bug 163556

A new 'Foreign Definitions' profile definition option has been introduced to support "foreign definitions". When enabled (by setting the option to "PROCESS"), the resulting profile definition will reference the definitions of elements from any referenced profiles instead of redefining them anew. This option supports application of cross-referenced stereotypes to elements in different models, provided that both the referring and referenced models/profiles are loaded into the same resource set and modified/saved at the same time.

163556.png

Of course, one must be careful with this option, as it allows creation of dependencies between different (versions of) profile metadata in different profiles. Particular care must be used when creating generalization relationships that span profiles and when defining and applying new versions of classes and stereotypes independently of models and/or profiles that may be referencing them.

Bug 322715

The UML to Ecore converter has been enhanced with new options to support validation and invocation delegates, and the UML2 code generator has been modified to work with them.

322715.png

When enabled (by setting the option to "PROCESS"), the 'Validation Delegates' option will result in generated code that uses an OCL validation delegate to evaluate OCL constraints. Note that this option only takes effect if/when the 'Invariant Constraints' option is also enabled. See http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Validation_Delegates for more information on validation delegates.

When enabled (by setting the option to "PROCESS"), the 'Invocation Delegates' option will result in generated code that uses an OCL invocation delegate to implement OCL query operations. Note that this option only takes effect if/when the 'Operation Bodies' option is also enabled. See http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Operation_Invocation_Delegates for more information on invocation delegates.

Milestone 7

This milestone was completed on May 6, 2013.

Bug 173565

The sample UML editor now qualifies edit labels with the objects' containing resource so that elements with the same qualified name (but from different resources) can more easily be distinguished.

173565.png

Bug 204658

The commands for copy, cut, and paste have been specialized in the context of the sample UML editor to handle cutting, copying, and/or pasting stereotype applications. Stereotype applications for the copied/cut elements are pasted to the target resource iff the same version of the associated profile is applied in the resulting context. This means that the specific version of the containing profile(s) must be applied either to a package in the hierarchy of the elements being copied/cut or to a package in the hierarchy of the target to which the elements are being pasted.

204658.png

Bug 212765

UML2 now preserves additional redefinition details (lower bound, upper bound, and type) when a UML model is converted to Ecore.

212765 1.png

The UML2 code generator has been enhanced to leverage this information to provide better support for redefined types and multiplicities. More specific type constraints are now enforced in redefining classes and narrower multiplicities are now enforced via overrides in the generated validator.

212765 2.png

Better code generation support for explicit redefinitions has also been provided and the eIsSet(int) method is now being correctly overridden to delegate to isSet*() methods for redefined features.

212765 3.png

Bug 251038

The sample UML editor now uses a qualified text provider for stereotype application edit labels so that it's easier to tell which stereotype application has which element as its base element when selecting a stereotype application as a value.

251038.png

Bug 281326

The control/uncontrol action has been customized in the sample UML editor (actually in its action bar contributor) so that stereotype applications are moved to/from "fragment" resources when their base elements are controlled/uncontrolled.

281326.png

Copyright © Eclipse Foundation, Inc. All Rights Reserved.