JavaDoc corrected

This commit is contained in:
Andrew Gvozdev 2010-04-19 02:11:48 +00:00
parent 06ce0b8fbe
commit e514d04dfa

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007 Intel Corporation and others.
* Copyright (c) 2007, 2010 Intel 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
@ -25,8 +25,7 @@ import org.eclipse.cdt.ui.newui.IConfigManager;
import org.eclipse.cdt.ui.newui.ManageConfigSelector;
/**
* Action which changes active build configuration of the current project to
* the given one.
* Action which lets to manage (add/remove etc.) build configurations of the project.
*/
public class ManageConfigsAction
implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate {
@ -34,7 +33,7 @@ implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate {
public void selectionChanged(IAction action, ISelection selection) {
if (!selection.isEmpty()) {
// case for context menu
// case for context menu
if (selection instanceof StructuredSelection) {
obs = ManageConfigSelector.getProjects(((StructuredSelection)selection).toArray());
action.setEnabled(ManageConfigSelector.getManager(obs) != null);