diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/FocusOnTypeDialog.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/FocusOnTypeDialog.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/FocusOnTypeDialog.java b/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/FocusOnTypeDialog.java deleted file mode 100644 index 200ec830e4e..00000000000 --- a/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/FocusOnTypeDialog.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 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 - * QNX Software Systems - adapted for use in CDT - *******************************************************************************/ -package org.eclipse.cdt.internal.ui.browser.typehierarchy; - -import org.eclipse.cdt.core.model.ICElement; -import org.eclipse.cdt.ui.browser.typeinfo.TypeSelectionDialog; -import org.eclipse.swt.widgets.Shell; - -/** - * A dialog to select a type from a list of types. The selected type will be - * opened in the editor. - */ -public class FocusOnTypeDialog extends TypeSelectionDialog { - - private static final String DIALOG_SETTINGS = FocusOnTypeDialog.class.getName(); - - private final int[] VISIBLE_TYPES = { ICElement.C_CLASS, ICElement.C_STRUCT }; - - /** - * Constructs an instance of <code>OpenTypeDialog</code>. - * @param parent the parent shell. - */ - public FocusOnTypeDialog(Shell parent) { - super(parent); - setTitle(TypeHierarchyMessages.getString("FocusOnTypeAction.dialog.title")); //$NON-NLS-1$ - setMessage(TypeHierarchyMessages.getString("FocusOnTypeAction.dialog.message")); //$NON-NLS-1$ - setVisibleTypes(VISIBLE_TYPES); - setDialogSettings(DIALOG_SETTINGS); - } -} |