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

Bug 322675

Summary: [editor] org.eclipse.ocl.examples.xtext.oclinecore.ui pollutes context menus
Product: [Modeling] OCL Reporter: Jan Koehnlein <jan>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact: Ed Willink <ed>
Severity: normal    
Priority: P3 CC: ed
Version: 3.0.0   
Target Milestone: 3.0.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Menu fixes none

Description Jan Koehnlein CLA 2010-08-13 12:59:33 EDT
org.eclipse.ocl.examples.xtext.oclinecore.ui contributes three actions to arbitrary context menus of tree views with empty selection: "Create dynamic instance", "Save As->Ecore", and "Save As->OCLinEcore".

Steps to reproduce:
- Open an arbitrary tree view, e.g. the navigator
- Make sure nothing is selected
- Open the context menu in an empty section of the tree view
Comment 1 Ed Willink CLA 2010-08-13 13:31:23 EDT
*** Bug 318120 has been marked as a duplicate of this bug. ***
Comment 2 Ed Willink CLA 2010-08-13 13:33:07 EDT
Thanks for the repro. When I actively looked for this spurious menu entry it vanished.
Comment 3 Ed Willink CLA 2010-08-16 16:03:27 EDT
Created attachment 176722 [details]
Menu fixes

Menus are now all popup:#TextEditorContext with Editor.opened visibility.

Create Dynamic Instance might even work on a text selection now.

Candidate for 3.0.1.
Comment 4 Ed Willink CLA 2010-08-17 12:31:32 EDT
Committed to HEAD for 3.1.0M2 and to R3_0_maintenance for 3.0.1RC2.
Comment 5 Ed Willink CLA 2010-08-17 17:12:45 EDT
*** Bug 318009 has been marked as a duplicate of this bug. ***
Comment 6 Ed Willink CLA 2011-05-27 03:13:20 EDT
Closing