Search in sources :

Example 6 with AbstractLaunchConfigurationTab

use of org.eclipse.debug.ui.AbstractLaunchConfigurationTab in project linuxtools by eclipse.

the class ProfileLaunchConfigurationTabGroup method createTabs.

@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
    ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<>();
    tabs.add(new CMainTab2());
    tabs.add(new CArgumentsTab());
    tabs.addAll(Arrays.asList(getProfileTabs()));
    tabs.add(new EnvironmentTab());
    tabs.add(new SourceLookupTab());
    tabs.add(new CommonTab());
    setTabs(tabs.toArray(new AbstractLaunchConfigurationTab[tabs.size()]));
}
Also used : CArgumentsTab(org.eclipse.cdt.launch.ui.CArgumentsTab) AbstractLaunchConfigurationTab(org.eclipse.debug.ui.AbstractLaunchConfigurationTab) ArrayList(java.util.ArrayList) EnvironmentTab(org.eclipse.debug.ui.EnvironmentTab) SourceLookupTab(org.eclipse.debug.ui.sourcelookup.SourceLookupTab) CommonTab(org.eclipse.debug.ui.CommonTab) CMainTab2(org.eclipse.cdt.launch.ui.CMainTab2)

Aggregations

AbstractLaunchConfigurationTab (org.eclipse.debug.ui.AbstractLaunchConfigurationTab)6 CoreException (org.eclipse.core.runtime.CoreException)3 ArrayList (java.util.ArrayList)2 CArgumentsTab (org.eclipse.cdt.launch.ui.CArgumentsTab)2 CommonTab (org.eclipse.debug.ui.CommonTab)2 EnvironmentTab (org.eclipse.debug.ui.EnvironmentTab)2 SourceLookupTab (org.eclipse.debug.ui.sourcelookup.SourceLookupTab)2 AbstractCLaunchDelegate (org.eclipse.cdt.launch.AbstractCLaunchDelegate)1 CMainTab2 (org.eclipse.cdt.launch.ui.CMainTab2)1 ILaunchConfigurationWorkingCopy (org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)1 ILaunchConfigurationTab (org.eclipse.debug.ui.ILaunchConfigurationTab)1 ProfileLaunchConfigurationTabGroup (org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup)1