Search in sources :

Example 1 with ValgrindOptionsTab

use of org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab in project linuxtools by eclipse.

the class LaunchConfigTabTest method prep.

@Before
public void prep() throws Exception {
    // $NON-NLS-1$
    proj = createProjectAndBuild("alloctest");
    config = createConfiguration(proj.getProject());
    testShell = new Shell(Display.getDefault());
    testShell.setLayout(new GridLayout());
    tab = new ValgrindOptionsTab();
}
Also used : ValgrindOptionsTab(org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab) Shell(org.eclipse.swt.widgets.Shell) GridLayout(org.eclipse.swt.layout.GridLayout) Before(org.junit.Before)

Example 2 with ValgrindOptionsTab

use of org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab 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 3 with ValgrindOptionsTab

use of org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab in project linuxtools by eclipse.

the class LaunchConfigTabTest method setUpProject.

@Before
public void setUpProject() throws Exception {
    // $NON-NLS-1$
    proj = createProjectAndBuild("basicTest");
    config = createConfiguration(proj.getProject());
    testShell = new Shell(Display.getDefault());
    testShell.setLayout(new GridLayout());
    tab = new ValgrindOptionsTab();
}
Also used : ValgrindOptionsTab(org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab) Shell(org.eclipse.swt.widgets.Shell) GridLayout(org.eclipse.swt.layout.GridLayout) Before(org.junit.Before)

Example 4 with ValgrindOptionsTab

use of org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab in project linuxtools by eclipse.

the class LaunchConfigTabTest method prep.

@Before
public void prep() throws Exception {
    // $NON-NLS-1$
    proj = createProjectAndBuild("cpptest");
    config = createConfiguration(proj.getProject());
    testShell = new Shell(Display.getDefault());
    testShell.setLayout(new GridLayout());
    tab = new ValgrindOptionsTab();
}
Also used : ValgrindOptionsTab(org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab) Shell(org.eclipse.swt.widgets.Shell) GridLayout(org.eclipse.swt.layout.GridLayout) Before(org.junit.Before)

Example 5 with ValgrindOptionsTab

use of org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab in project linuxtools by eclipse.

the class CachegrindLaunchShortcut method setDefaultProfileAttributes.

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

Aggregations

ValgrindOptionsTab (org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab)9 GridLayout (org.eclipse.swt.layout.GridLayout)5 Shell (org.eclipse.swt.widgets.Shell)5 ILaunchConfigurationTab (org.eclipse.debug.ui.ILaunchConfigurationTab)4 Before (org.junit.Before)4 ILaunchConfiguration (org.eclipse.debug.core.ILaunchConfiguration)1 ILaunchConfigurationWorkingCopy (org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)1 Test (org.junit.Test)1