mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-18 14:35:23 +02:00
[238365] Collapsing tree in new window collapses tree in Original window
This commit is contained in:
parent
e1bdaae4ae
commit
b413ab74fa
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2002, 2010 IBM Corporation and others.
|
* Copyright (c) 2002, 2011 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -42,6 +42,7 @@
|
||||||
* David McKnight (IBM) - [286670] TVT35:TCT586: CHS: English Strings Found
|
* David McKnight (IBM) - [286670] TVT35:TCT586: CHS: English Strings Found
|
||||||
* Martin Oberhuber (Wind River) - [326910] RSE looses selection when creating a project
|
* Martin Oberhuber (Wind River) - [326910] RSE looses selection when creating a project
|
||||||
* David McKnight (IBM) - [330386] RSE SystemView has Focus Problems with Eclipse SDK 4.1M3
|
* David McKnight (IBM) - [330386] RSE SystemView has Focus Problems with Eclipse SDK 4.1M3
|
||||||
|
* David McKnight (IBM) - [238365] Collapsing tree in new window collapses tree in Original window
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.ui.view;
|
package org.eclipse.rse.internal.ui.view;
|
||||||
|
@ -615,6 +616,7 @@ public class SystemViewPart
|
||||||
toolBarMgr.add(new Separator(ISystemContextMenuConstants.GROUP_EXPAND));
|
toolBarMgr.add(new Separator(ISystemContextMenuConstants.GROUP_EXPAND));
|
||||||
SystemCollapseAllAction collapseAllAction = new SystemCollapseAllAction(getShell());
|
SystemCollapseAllAction collapseAllAction = new SystemCollapseAllAction(getShell());
|
||||||
collapseAllAction.setSelectionProvider(systemView);
|
collapseAllAction.setSelectionProvider(systemView);
|
||||||
|
collapseAllAction.setViewer(systemView); // fix for bug 238365 - action needs to know the viewer
|
||||||
toolBarMgr.add(collapseAllAction);
|
toolBarMgr.add(collapseAllAction);
|
||||||
|
|
||||||
IMenuManager menuMgr = actionBars.getMenuManager();
|
IMenuManager menuMgr = actionBars.getMenuManager();
|
||||||
|
|
Loading…
Add table
Reference in a new issue