Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322675 - [editor] org.eclipse.ocl.examples.xtext.oclinecore.ui pollutes context menus
Summary: [editor] org.eclipse.ocl.examples.xtext.oclinecore.ui pollutes context menus
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: OCL Inbox CLA
QA Contact: Ed Willink CLA
URL:
Whiteboard:
Keywords:
: 318009 318120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-13 12:59 EDT by Jan Koehnlein CLA
Modified: 2011-05-27 03:13 EDT (History)
1 user (show)

See Also:


Attachments
Menu fixes (11.71 KB, patch)
2010-08-16 16:03 EDT, Ed Willink CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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