From c54d1210308bba539c6480ceed2c993a68db8856 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Sun, 18 Apr 2010 03:15:53 +0000 Subject: [PATCH] cleanup: JavaDoc corrected --- .../eclipse/cdt/ui/actions/DeleteResConfigsAction.java | 8 ++++---- .../eclipse/cdt/ui/actions/ExcludeFromBuildAction.java | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/DeleteResConfigsAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/DeleteResConfigsAction.java index cc05081d908..460eb9615fa 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/DeleteResConfigsAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/DeleteResConfigsAction.java @@ -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 @@ -46,8 +46,8 @@ import org.eclipse.cdt.ui.newui.AbstractPage; import org.eclipse.cdt.internal.ui.actions.ActionMessages; /** - * Action which changes active build configuration of the current project to - * the given one. + * Action which deletes resource description. (If resource description is missing + * one from parent is normally used) */ public class DeleteResConfigsAction implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate { @@ -60,7 +60,7 @@ implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate { outData = null; if (!selection.isEmpty()) { - // case for context menu + // case for context menu if (selection instanceof IStructuredSelection) { Object[] obs = ((IStructuredSelection)selection).toArray(); if (obs.length > 0) { diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/ExcludeFromBuildAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/ExcludeFromBuildAction.java index b2c4aeb093b..59999a051ba 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/ExcludeFromBuildAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/ExcludeFromBuildAction.java @@ -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 @@ -49,8 +49,7 @@ import org.eclipse.cdt.ui.newui.UIMessages; import org.eclipse.cdt.internal.ui.actions.ActionMessages; /** - * Action which changes active build configuration of the current project to - * the given one. + * Action which excludes resources from build. */ public class ExcludeFromBuildAction implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate { @@ -64,7 +63,7 @@ implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate { boolean cfgsOK = true; if (!selection.isEmpty()) { - // case for context menu + // case for context menu if (selection instanceof IStructuredSelection) { Object[] obs = ((IStructuredSelection)selection).toArray(); if (obs.length > 0) {