mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
since config is shared we shouldn't filter that tab list
This commit is contained in:
parent
d88c252a40
commit
194b859756
2 changed files with 12 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-11-04 David Inglis
|
||||
* src/.../launch/internal/ui/LocalCLaunchCOnfigurationTabGroup.java
|
||||
don't filter tab list based on mode since the configuration is shared with debug mode.
|
||||
|
||||
2002-11-01 David Inglis
|
||||
* src/.../launch/internal/CoreFileLaunchDelegate.java
|
||||
* src/.../launch/internal/LocalCLaunchConfigur.ationDelegate.java
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
package org.eclipse.cdt.launch.internal.ui;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.eclipse.cdt.launch.ui.CArgumentsTab;
|
||||
import org.eclipse.cdt.launch.ui.CDebuggerTab;
|
||||
import org.eclipse.cdt.launch.ui.CEnvironmentTab;
|
||||
import org.eclipse.cdt.launch.ui.CMainTab;
|
||||
import org.eclipse.debug.core.ILaunchManager;
|
||||
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
|
||||
import org.eclipse.debug.ui.CommonTab;
|
||||
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
|
||||
|
@ -23,17 +20,14 @@ public class LocalCLaunchConfigurationTabGroup extends AbstractLaunchConfigurati
|
|||
* @see AbstractLaunchConfigurationTabGroup#createTabs
|
||||
*/
|
||||
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
|
||||
ArrayList tabs = new ArrayList(5);
|
||||
|
||||
tabs.add(new CMainTab());
|
||||
tabs.add(new CArgumentsTab());
|
||||
tabs.add(new CEnvironmentTab());
|
||||
if ( mode.equalsIgnoreCase(ILaunchManager.DEBUG_MODE) ) {
|
||||
tabs.add(new CDebuggerTab() );
|
||||
}
|
||||
tabs.add(new CommonTab());
|
||||
|
||||
setTabs((ILaunchConfigurationTab[])tabs.toArray(new ILaunchConfigurationTab[tabs.size()]));
|
||||
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
|
||||
new CMainTab(),
|
||||
new CArgumentsTab(),
|
||||
new CEnvironmentTab(),
|
||||
new CDebuggerTab(),
|
||||
new CommonTab()
|
||||
};
|
||||
setTabs(tabs);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue