Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365447 - [pivot] Support direct UML to Piviot loading
Summary: [pivot] Support direct UML to Piviot loading
Status: NEW
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 581543
Blocks:
  Show dependency tree
 
Reported: 2011-12-02 10:16 EST by Ed Willink CLA
Modified: 2023-08-28 03:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-12-02 10:16:10 EST
UMML loading for the pivot current used a UML2Ecore conversion to allow reuse of the Ecore2Pivot loader. This loses UML Association, Profile and merge details.

Complete development of the direct UML2Pivot loader.
Comment 1 Ed Willink CLA 2012-06-27 06:32:37 EDT
UML2Pivot (on bug/365447) supports loading of Association ends and Profiles enabling the elimination of UML2Ecore2Pivot for all JUnit tests (excpt those that explicitly test an Ecore intermediate). The loader successfully loads the UML 2.5 XMI, which after trivial fixes loads error free.

The UML coverage is currently pragmatic, so a detailed review is required.

There is no support for Package merge; probably adequaltely handled by MDT/UML2 during 'load'.

There is no support for Association classes; probably need to create them even though ends are migrated to classes.

Need Pivot2UML to support full round-trip testing.
Comment 2 Ed Willink CLA 2012-08-30 13:12:19 EDT
Support for Stereotypes has been added.
Comment 3 Ed Willink CLA 2023-08-28 03:23:04 EDT
The Bug 581543 rationalization to combine OCLstdlib and Pivot and Tables/Metamodel merits a revisit of the UML loading which suffers from the considerable complexity of unifying Eclipse UML2 and OMG UML metamodels. As a minimum this burns loading time. It has potentially evolved so that in test_tutorial_umlValidation_436903 we seem to need to load Pivot from Ecore so that UML can be.

Now that Eclipse UML2 is VERY stable, it would be much better to load a single Pivot UML metamodel that was auto-generated at compile-time. The relevant auto-generation should be accessible for those occasions when a user really wants a custom UML.