From 4d13a49e372fb093aac5d7ea75a14a96d219f10a Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Mon, 15 Mar 2010 18:12:12 +0000 Subject: [PATCH] cleanup: deprecated class used for CDT 3.X style projects --- .../internal/ui/dialogs/cpaths/FolderSelectionDialog.java | 5 ++++- .../ui/dialogs/cpaths/MultipleFolderSelectionDialog.java | 5 ++++- .../internal/ui/dialogs/cpaths/SourceAttachmentBlock.java | 6 ++++-- .../internal/ui/dialogs/cpaths/SourceAttachmentDialog.java | 6 ++++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/FolderSelectionDialog.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/FolderSelectionDialog.java index 98eb1165c8c..144bb2c2dc3 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/FolderSelectionDialog.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/FolderSelectionDialog.java @@ -36,7 +36,10 @@ import org.eclipse.cdt.internal.ui.util.SWTUtil; /** - */ + * @deprecated as of CDT 4.0. This class was used for property pages + * for 3.X style projects. + */ +@Deprecated public class FolderSelectionDialog extends ElementTreeSelectionDialog implements ISelectionChangedListener { private Button fNewFolderButton; diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/MultipleFolderSelectionDialog.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/MultipleFolderSelectionDialog.java index e691bc8af82..62c7ffe7b8c 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/MultipleFolderSelectionDialog.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/MultipleFolderSelectionDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2008 QNX Software Systems and others. + * Copyright (c) 2004, 2010 QNX Software Systems 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 @@ -47,7 +47,10 @@ import org.eclipse.cdt.internal.ui.dialogs.StatusInfo; import org.eclipse.cdt.internal.ui.util.SWTUtil; /** + * @deprecated as of CDT 4.0. This class was used for property pages + * for 3.X style projects. */ +@Deprecated public class MultipleFolderSelectionDialog extends SelectionStatusDialog implements ISelectionChangedListener { CheckboxTreeViewer fViewer; diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentBlock.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentBlock.java index e54e70bdb23..6cd2767f1a3 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentBlock.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentBlock.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2002, 2008 QNX Software Systems and others. + * Copyright (c) 2002, 2010 QNX Software Systems 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 @@ -70,8 +70,10 @@ import org.eclipse.cdt.internal.ui.wizards.dialogfields.StringButtonDialogField; * UI to set the source attachment archive and root. Same implementation for both setting attachments for libraries from variable * entries and for normal (internal or external) jar. * - * SourceAttachmentBlock + * @deprecated as of CDT 4.0. This class was used for property pages + * for 3.X style projects. */ +@Deprecated public class SourceAttachmentBlock { private IStatusChangeListener fContext; diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentDialog.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentDialog.java index cec1ccea2cc..b6045767dcf 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentDialog.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/SourceAttachmentDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2002, 2008 QNX Software Systems and others. + * Copyright (c) 2002, 2010 QNX Software Systems 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 @@ -34,8 +34,10 @@ import org.eclipse.cdt.internal.ui.util.ExceptionHandler; /** * A dialog to configure the source attachment of a library (library and zip archive). * - * SourceAttachmentDialog + * @deprecated as of CDT 4.0. This class was used for property pages + * for 3.X style projects. */ +@Deprecated public class SourceAttachmentDialog extends StatusDialog { private SourceAttachmentBlock fSourceAttachmentBlock;