Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355471

Summary: [pivot] Support Save-in-Ecore
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: ed: juno+
Version: 3.1.0   
Target Milestone: M2   
Hardware: PC   
OS: Windows Vista   
Whiteboard: Usability

Description Ed Willink CLA 2011-08-23 04:19:38 EDT
Save-As-Ecore converts OCL's String etc to EString.

This makes for unsatisfactory Ecore Diagrams of the Pivot Models for the auto-generated OCL specification.

[Papyrus cannot load sensibly from UML - Bug 348842, UML2 Tools cannot save a diagram after it has been pruned to hide unwanted elements (dangling cross-references)]

Therefore provide a Save-In-Ecore option in which type names are converted without change.
Comment 1 Ed Willink CLA 2011-08-24 15:44:48 EDT
Alternate SaveAs "In Ecore" causes primitives to reference a configurable primitives.ecore namespace URI. This allows an OCLinEcore file to be saved as an Ecore file for which an Ecore Diagram uses true model element names.
Comment 2 Ed Willink CLA 2013-05-20 11:35:40 EDT
CLOSED after a year in the RESOLVED state.