Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b66205c10710da2d68bd87fd7df9913a1051f081 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*******************************************************************************
 * Copyright (c) 2000, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.team.internal.ccvs.ui.console;

import org.eclipse.jface.action.Action;
import org.eclipse.team.internal.ccvs.ui.Policy;
import org.eclipse.team.internal.ui.Utils;

/**
 * Action that removed the CVS console from the console view. The console
 * can be re-added via the console view "Open Console" drop-down.
 * 
 * @since 3.1
 */
public class ConsoleRemoveAction extends Action {

	ConsoleRemoveAction() {
		Utils.initAction(this, "ConsoleRemoveAction.", Policy.getActionBundle()); //$NON-NLS-1$
	}
	
	public void run() {
		CVSConsoleFactory.closeConsole();
	}
}

Back to the top