1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

cleanup: JavaDoc corrected

This commit is contained in:
Andrew Gvozdev 2010-04-18 03:15:53 +00:00
parent d8406010a1
commit c54d121030
2 changed files with 7 additions and 8 deletions

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 * 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
@ -46,8 +46,8 @@ import org.eclipse.cdt.ui.newui.AbstractPage;
import org.eclipse.cdt.internal.ui.actions.ActionMessages; import org.eclipse.cdt.internal.ui.actions.ActionMessages;
/** /**
* Action which changes active build configuration of the current project to * Action which deletes resource description. (If resource description is missing
* the given one. * one from parent is normally used)
*/ */
public class DeleteResConfigsAction public class DeleteResConfigsAction
implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate { implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate {
@ -60,7 +60,7 @@ implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate {
outData = null; outData = null;
if (!selection.isEmpty()) { if (!selection.isEmpty()) {
// case for context menu // case for context menu
if (selection instanceof IStructuredSelection) { if (selection instanceof IStructuredSelection) {
Object[] obs = ((IStructuredSelection)selection).toArray(); Object[] obs = ((IStructuredSelection)selection).toArray();
if (obs.length > 0) { if (obs.length > 0) {

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 * 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
@ -49,8 +49,7 @@ import org.eclipse.cdt.ui.newui.UIMessages;
import org.eclipse.cdt.internal.ui.actions.ActionMessages; import org.eclipse.cdt.internal.ui.actions.ActionMessages;
/** /**
* Action which changes active build configuration of the current project to * Action which excludes resources from build.
* the given one.
*/ */
public class ExcludeFromBuildAction public class ExcludeFromBuildAction
implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate { implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate {
@ -64,7 +63,7 @@ implements IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate {
boolean cfgsOK = true; boolean cfgsOK = true;
if (!selection.isEmpty()) { if (!selection.isEmpty()) {
// case for context menu // case for context menu
if (selection instanceof IStructuredSelection) { if (selection instanceof IStructuredSelection) {
Object[] obs = ((IStructuredSelection)selection).toArray(); Object[] obs = ((IStructuredSelection)selection).toArray();
if (obs.length > 0) { if (obs.length > 0) {