Search in sources :

Example 1 with ILaunchConfigurationTab

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

the class LaunchConfigTabTest method initConfig.

private ILaunchConfigurationWorkingCopy initConfig() throws CoreException {
    ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
    tab.setDefaults(wc);
    tab.createControl(testShell);
    tab.initializeFrom(config);
    int ix = Arrays.asList(tab.getTools()).indexOf(HelgrindPlugin.TOOL_ID);
    tab.getToolsCombo().select(ix);
    ILaunchConfigurationTab dynamicTab = tab.getDynamicTab();
    this.dynamicTab = (HelgrindToolPage) dynamicTab;
    return wc;
}
Also used : ILaunchConfigurationWorkingCopy(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) ILaunchConfigurationTab(org.eclipse.debug.ui.ILaunchConfigurationTab)

Example 2 with ILaunchConfigurationTab

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

the class ValgrindLaunchShortcut method setDefaultProfileAttributes.

@Override
protected void setDefaultProfileAttributes(ILaunchConfigurationWorkingCopy wc) throws CoreException {
    ValgrindOptionsTab tab = new ValgrindOptionsTab();
    tab.setDefaults(wc);
    ILaunchConfigurationTab defaultTab = ValgrindLaunchPlugin.getDefault().getToolPage(ValgrindLaunchPlugin.TOOL_EXT_DEFAULT);
    defaultTab.setDefaults(wc);
}
Also used : ILaunchConfigurationTab(org.eclipse.debug.ui.ILaunchConfigurationTab)

Example 3 with ILaunchConfigurationTab

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

the class LaunchConfigTabTest method initConfig.

private ILaunchConfigurationWorkingCopy initConfig() throws CoreException {
    ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
    tab.setDefaults(wc);
    tab.createControl(testShell);
    tab.initializeFrom(config);
    int ix = Arrays.asList(tab.getTools()).indexOf(MassifPlugin.TOOL_ID);
    tab.getToolsCombo().select(ix);
    ILaunchConfigurationTab dynamicTab = tab.getDynamicTab();
    this.dynamicTab = (MassifToolPage) dynamicTab;
    return wc;
}
Also used : ILaunchConfigurationWorkingCopy(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) ILaunchConfigurationTab(org.eclipse.debug.ui.ILaunchConfigurationTab)

Example 4 with ILaunchConfigurationTab

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

the class MassifLaunchShortcut method setDefaultProfileAttributes.

@Override
protected void setDefaultProfileAttributes(ILaunchConfigurationWorkingCopy wc) throws CoreException {
    ValgrindOptionsTab tab = new ValgrindOptionsTab();
    tab.setDefaults(wc);
    ILaunchConfigurationTab defaultTab = ValgrindLaunchPlugin.getDefault().getToolPage(MassifPlugin.TOOL_ID);
    defaultTab.setDefaults(wc);
}
Also used : ValgrindOptionsTab(org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab) ILaunchConfigurationTab(org.eclipse.debug.ui.ILaunchConfigurationTab)

Example 5 with ILaunchConfigurationTab

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

the class LaunchConfigTabTest method initConfig.

private ILaunchConfigurationWorkingCopy initConfig() throws CoreException {
    ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
    tab.setDefaults(wc);
    tab.createControl(testShell);
    tab.initializeFrom(config);
    int ix = Arrays.asList(tab.getTools()).indexOf(MemcheckPlugin.TOOL_ID);
    tab.getToolsCombo().select(ix);
    ILaunchConfigurationTab dynamicTab = tab.getDynamicTab();
    this.dynamicTab = (MemcheckToolPage) dynamicTab;
    return wc;
}
Also used : ILaunchConfigurationWorkingCopy(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) ILaunchConfigurationTab(org.eclipse.debug.ui.ILaunchConfigurationTab)

Aggregations

ILaunchConfigurationTab (org.eclipse.debug.ui.ILaunchConfigurationTab)14 ILaunchConfigurationWorkingCopy (org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)5 ValgrindOptionsTab (org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab)4 ProfileLaunchConfigurationTabGroup (org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup)3 CoreException (org.eclipse.core.runtime.CoreException)2 Matcher (java.util.regex.Matcher)1 Pattern (java.util.regex.Pattern)1 AbstractCLaunchDelegate (org.eclipse.cdt.launch.AbstractCLaunchDelegate)1 AbstractLaunchConfigurationTab (org.eclipse.debug.ui.AbstractLaunchConfigurationTab)1 CommonTab (org.eclipse.debug.ui.CommonTab)1 EnvironmentTab (org.eclipse.debug.ui.EnvironmentTab)1 ILaunchConfigurationDialog (org.eclipse.debug.ui.ILaunchConfigurationDialog)1 SourceLookupTab (org.eclipse.debug.ui.sourcelookup.SourceLookupTab)1 JavaArgumentsTab (org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab)1 JavaClasspathTab (org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab)1 IRunnableWithProgress (org.eclipse.jface.operation.IRunnableWithProgress)1 SystemTapOptionsTab (org.eclipse.linuxtools.internal.callgraph.launch.SystemTapOptionsTab)1 ProfileLaunchShortcut (org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut)1 CTabItem (org.eclipse.swt.custom.CTabItem)1 ServerLaunchConfigurationTab (org.eclipse.wst.server.ui.ServerLaunchConfigurationTab)1