Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2007-05-07 16:56:26 +0000
committerDarin Wright2007-05-07 16:56:26 +0000
commitf2dd69da31036141853424eebd7d35c1cc08ff77 (patch)
tree586767465fc3e44ff2c4e9edf17bc075963820d4 /org.eclipse.debug.ui
parente8c556307666fec029899ceeef5e646b13879697 (diff)
downloadeclipse.platform.debug-f2dd69da31036141853424eebd7d35c1cc08ff77.tar.gz
eclipse.platform.debug-f2dd69da31036141853424eebd7d35c1cc08ff77.tar.xz
eclipse.platform.debug-f2dd69da31036141853424eebd7d35c1cc08ff77.zip
Bug 185171 LaunchConfigurationTypesViewer is no longer used and should be deleted
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTypesViewer.java69
1 files changed, 0 insertions, 69 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTypesViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTypesViewer.java
deleted file mode 100644
index 8cd8a73fa..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTypesViewer.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- *******************************************************************************/
-package org.eclipse.debug.internal.ui.launchConfigurations;
-
-import org.eclipse.debug.core.DebugPlugin;
-import org.eclipse.debug.ui.DebugUITools;
-import org.eclipse.debug.ui.ILaunchGroup;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerComparator;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * A viewer that displays launch configuration types, filtered by
- * workbench capabilities.
- *
- * @since 3.1
- */
-public class LaunchConfigurationTypesViewer extends TableViewer {
-
- class ContentProvider implements IStructuredContentProvider {
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
- */
- public Object[] getElements(Object inputElement) {
- return DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurationTypes();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- */
- public void dispose() {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
- */
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- }
-
- }
-
- /**
- * Constructs a viewer to display launch configuration types
- *
- * @param parent composite this viewer is contained in
- * @param launchGroup the launch group being displayed
- */
- public LaunchConfigurationTypesViewer(Composite parent, ILaunchGroup launchGroup) {
- super(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
- setContentProvider(new ContentProvider());
- setLabelProvider(DebugUITools.newDebugModelPresentation());
- setComparator(new ViewerComparator());
- addFilter(new LaunchGroupFilter(launchGroup));
- setInput(DebugPlugin.getDefault().getLaunchManager());
- }
-
-}

Back to the top