mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 07:15:39 +02:00
Bug 464636 - Re-create dsf.gdb CMainTab for backwards compatibility
Change-Id: Ibf3f2ee8722ceeb5609389ce0f5a131841d3950b Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
6b134ee043
commit
52b36d6b0a
2 changed files with 36 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2015 Ericsson 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:
|
||||||
|
* Marc Khouzam (Ericsson) - initial API and implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.dsf.gdb.internal.ui.launching;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.launch.ui.CMainTab2;
|
||||||
|
/**
|
||||||
|
* A launch configuration tab that displays and edits project and main type name launch
|
||||||
|
* configuration attributes.
|
||||||
|
*
|
||||||
|
* @deprecated Replaced with org.eclipse.cdt.launch.ui.CMainTab2
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public class CMainTab extends CMainTab2 {
|
||||||
|
public CMainTab() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
public CMainTab(int flags) {
|
||||||
|
super(flags);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getId() {
|
||||||
|
// Return the old id as to be backwards compatible
|
||||||
|
return "org.eclipse.cdt.dsf.gdb.launch.mainTab"; //$NON-NLS-1$
|
||||||
|
}
|
||||||
|
}
|
|
@ -15,6 +15,7 @@ import org.eclipse.cdt.dsf.gdb.internal.ui.launching.CMainTab;
|
||||||
/**
|
/**
|
||||||
* @since 7.0
|
* @since 7.0
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class GDBJtagDSFCMainTab extends CMainTab {
|
public class GDBJtagDSFCMainTab extends CMainTab {
|
||||||
|
|
||||||
public GDBJtagDSFCMainTab() {
|
public GDBJtagDSFCMainTab() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue