Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325722 - 'Close'-related context menu actions should show up for all stacks and apply to all items
Summary: 'Close'-related context menu actions should show up for all stacks and apply ...
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M3   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 321864
  Show dependency tree
 
Reported: 2010-09-20 05:27 EDT by Hitesh CLA
Modified: 2010-10-26 09:25 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hitesh CLA 2010-09-20 05:27:20 EDT
See bug title ;)
Comment 1 Paul Webster CLA 2010-09-20 07:32:59 EDT
Interesting.  We have Close Editor and Close Part as standard 3.x commands.  What should happen with them in if there's a view in the editor stack (when the view is active and when the view is inactive).

PW
Comment 2 Remy Suen CLA 2010-09-20 07:36:57 EDT
I think these actions are useful generically and the context menu should appear for both the shared area and regular stacks.
Comment 3 Hitesh CLA 2010-09-20 07:45:32 EDT
(In reply to comment #1 & #2)

'Close All' and 'Close Others' are desirable actions; I can think of 'Close Editors' and 'Close Views' as good additions (maybe as sub menuitems under a special menuitem, say 'Close Part').
Comment 4 Eric Moffatt CLA 2010-09-21 13:18:55 EDT
Yes, I see something along these lines being better now that we're mixing views/editors.
Comment 5 Remy Suen CLA 2010-09-24 10:05:04 EDT
(In reply to comment #1)
> We have Close Editor and Close Part as standard 3.x commands.

'Close Editor' and 'Close All Editors' is covered by scenario K in bug 321864. 'Close Part' should just close the active part, wherever it is. This is how it is in 3.x and is actually orthogonal to whether it is in the shared area or not.

(In reply to comment #3)
> 'Close All' and 'Close Others' are desirable actions;

I will implement this.

> I can think of 'Close
> Editors' and 'Close Views' as good additions (maybe as sub menuitems under a
> special menuitem, say 'Close Part').

We will use bug 326151 for deciding whether we want to move forward with this proposal or not.
Comment 6 Remy Suen CLA 2010-09-24 10:18:35 EDT
Fixed in CVS HEAD.
Comment 7 Remy Suen CLA 2010-10-26 09:25:53 EDT
Verified on Windows XP with I20101025-1602.