diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup.java | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup.java deleted file mode 100644 index defae2d5a..000000000 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup.java +++ /dev/null @@ -1,115 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2005 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.ui; - - -import org.eclipse.debug.core.ILaunch; -import org.eclipse.debug.core.ILaunchConfiguration; -import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; - -/** - * Common function for launch configuration tab groups. - * Generally, a launch configuration tab group will subclass - * this class, and define a method to create and set the tabs - * in that group. - * <p> - * Clients may subclass this class. - * </p> - * @see ILaunchConfigurationTabGroup - * @since 2.0 - */ -public abstract class AbstractLaunchConfigurationTabGroup implements ILaunchConfigurationTabGroup { - - /** - * The tabs in this tab group, or <code>null</code> if not yet instantiated. - */ - protected ILaunchConfigurationTab[] fTabs = null; - - /** - * @see ILaunchConfigurationTabGroup#getTabs() - */ - public ILaunchConfigurationTab[] getTabs() { - return fTabs; - } - - /** - * Sets the tabs in this group - * - * @param tabs the tabs in this group - */ - protected void setTabs(ILaunchConfigurationTab[] tabs) { - fTabs = tabs; - } - - /** - * By default, dispose all the tabs in this group. - * - * @see ILaunchConfigurationTabGroup#dispose() - */ - public void dispose() { - ILaunchConfigurationTab[] tabs = getTabs(); - if (tabs != null) { - for (int i = 0; i < tabs.length; i++) { - tabs[i].dispose(); - } - } - } - - /** - * By default, delegate to all of the tabs in this group. - * - * @see ILaunchConfigurationTabGroup#setDefaults(ILaunchConfigurationWorkingCopy) - */ - public void setDefaults(ILaunchConfigurationWorkingCopy configuration) { - ILaunchConfigurationTab[] tabs = getTabs(); - for (int i = 0; i < tabs.length; i++) { - tabs[i].setDefaults(configuration); - } - } - - /** - * By default, delegate to all of the tabs in this group. - * - * @see ILaunchConfigurationTabGroup#initializeFrom(ILaunchConfiguration) - */ - public void initializeFrom(ILaunchConfiguration configuration) { - ILaunchConfigurationTab[] tabs = getTabs(); - for (int i = 0; i < tabs.length; i++) { - tabs[i].initializeFrom(configuration); - } - } - - /** - * By default, delegate to all of the tabs in this group. - * - * @see ILaunchConfigurationTabGroup#performApply(ILaunchConfigurationWorkingCopy) - */ - public void performApply(ILaunchConfigurationWorkingCopy configuration) { - ILaunchConfigurationTab[] tabs = getTabs(); - for (int i = 0; i < tabs.length; i++) { - tabs[i].performApply(configuration); - } - } - - /** - * By default, delegate to all of the tabs in this group. - * - * @see ILaunchConfigurationTabGroup#launched(ILaunch) - * @deprecated - */ - public void launched(ILaunch launch) { - ILaunchConfigurationTab[] tabs = getTabs(); - for (int i = 0; i < tabs.length; i++) { - tabs[i].launched(launch); - } - } - -} |