Search in sources :

Example 1 with CMainTab2

use of org.eclipse.cdt.launch.ui.CMainTab2 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

ArrayList (java.util.ArrayList)1 CArgumentsTab (org.eclipse.cdt.launch.ui.CArgumentsTab)1 CMainTab2 (org.eclipse.cdt.launch.ui.CMainTab2)1 AbstractLaunchConfigurationTab (org.eclipse.debug.ui.AbstractLaunchConfigurationTab)1 CommonTab (org.eclipse.debug.ui.CommonTab)1 EnvironmentTab (org.eclipse.debug.ui.EnvironmentTab)1 SourceLookupTab (org.eclipse.debug.ui.sourcelookup.SourceLookupTab)1