Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 169633 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/team/internal/ui/synchronize/NavigationActionGroup.java (-4 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2006 IBM Corporation and others.
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 17-27 Link Here
17
import org.eclipse.team.internal.ui.Utils;
17
import org.eclipse.team.internal.ui.Utils;
18
import org.eclipse.team.internal.ui.synchronize.actions.ExpandAllAction;
18
import org.eclipse.team.internal.ui.synchronize.actions.ExpandAllAction;
19
import org.eclipse.team.internal.ui.synchronize.actions.NavigateAction;
19
import org.eclipse.team.internal.ui.synchronize.actions.NavigateAction;
20
import org.eclipse.team.ui.synchronize.*;
20
import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration;
21
import org.eclipse.team.ui.synchronize.SynchronizePageActionGroup;
21
import org.eclipse.ui.IActionBars;
22
import org.eclipse.ui.IActionBars;
22
23
23
/**
24
/**
24
 * Action group that provide expand, collapse and naviGAtion atCions.
25
 * Action group that provide expand, collapse and navigation actions.
25
 */
26
 */
26
public class NavigationActionGroup extends SynchronizePageActionGroup {
27
public class NavigationActionGroup extends SynchronizePageActionGroup {
27
28
Lines 60-69 Link Here
60
	}
61
	}
61
	public void fillActionBars(IActionBars actionBars) {
62
	public void fillActionBars(IActionBars actionBars) {
62
		IToolBarManager manager = actionBars.getToolBarManager();
63
		IToolBarManager manager = actionBars.getToolBarManager();
64
		appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP, collapseAll);
63
		if (gotoNext != null)
65
		if (gotoNext != null)
64
			appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP, gotoNext);
66
			appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP, gotoNext);
65
		if (gotoPrevious != null)
67
		if (gotoPrevious != null)
66
			appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP, gotoPrevious);
68
			appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP, gotoPrevious);
67
		appendToGroup(manager, ISynchronizePageConfiguration.NAVIGATE_GROUP, collapseAll);
68
	}
69
	}
69
}
70
}

Return to bug 169633