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

Bug 318118

Summary: [editor] OCLinEcore can be default
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: salwa.alzahmi
Version: 3.0.0Flags: ed: iplog+
Target Milestone: M7   
Hardware: PC   
OS: Windows Vista   
Whiteboard: Usability
Bug Depends on: 318408    
Bug Blocks: 318358    
Attachments:
Description Flags
ocl Editor Prob none

Description Ed Willink CLA 2010-06-27 05:36:24 EDT
On a fairly fresh Helios Modeling package installation.

Create new EMF project.
Create new Ecore file.
....
tries to open OCLinEcore editor (prompts for Xtext nature).
Comment 1 Ed Willink CLA 2010-06-29 17:18:20 EDT
This may be an Ecore wizard bug.

OCLinEcore happens to be the lexical first FileAssociation Editor, but OpenWith shows the Sample Ecore Editor as default.
Comment 2 Ed Willink CLA 2010-06-30 01:23:09 EDT
See Bug 318408 for description of the content type look up failure resulting in use of an EMF Compare variant of the ecore content type.
Comment 3 Ed Willink CLA 2012-05-10 07:10:12 EDT
On Juno M7 a new Ecore gives Ecore.

Looks like the platform has sorted out the priorities.
Comment 4 Ed Willink CLA 2013-05-20 11:37:06 EDT
CLOSED after a year in the RESOLVED state.
Comment 5 Salwa Alzahmi CLA 2013-06-05 02:36:09 EDT
Created attachment 231967 [details]
ocl Editor Prob
Comment 6 Salwa Alzahmi CLA 2013-06-05 02:37:32 EDT
Hello,

I downloaded the  "ocl example and editor" on eclipse Juno through the updatesite  but when i try to open the Ecore file with oclEditor it is not showing in the sub-menu when i select open-with. !!
Comment 7 Ed Willink CLA 2013-06-05 03:58:50 EDT
Your problem is nothing to do with this closed bug.

You don't show for what file extension you tried to open; from the editors it looks like something .xml

Check in the Installed Software to see whether you really have installed OCL Examples and Editors.

Check in the Open With... Others to see if it OCLinEcore appears there.