1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-09 01:55:24 +02:00

Bug 480577 - Add an empty tab group for Arduino launch configs

This prevents the error in the launch config dialog so you can delete
orphaned configs.

Change-Id: I9c33547a506b32260f4a258ec1911f32fd363df2
This commit is contained in:
Doug Schaefer 2015-11-01 19:14:49 -05:00 committed by Gerrit Code Review @ Eclipse.org
parent c5cc857c99
commit acf1d055c1
2 changed files with 32 additions and 0 deletions

View file

@ -122,4 +122,12 @@
type="org.eclipse.remote.core.IRemoteConnection"> type="org.eclipse.remote.core.IRemoteConnection">
</propertyTester> </propertyTester>
</extension> </extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
class="org.eclipse.cdt.arduino.ui.internal.launch.ArduinoLaunchConfigurationTabGroup"
id="org.eclipse.cdt.arduino.ui.launchConfigurationTabGroup"
type="org.eclipse.cdt.arduino.core.launchConfigurationType">
</launchConfigurationTabGroup>
</extension>
</plugin> </plugin>

View file

@ -0,0 +1,24 @@
/*******************************************************************************
* Copyright (c) 2015 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* QNX Software Systems - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.arduino.ui.internal.launch;
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
public class ArduinoLaunchConfigurationTabGroup extends AbstractLaunchConfigurationTabGroup {
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
setTabs(new ILaunchConfigurationTab[0]);
}
}