@Override protected void setProfileAttributes(ILaunchConfigurationWorkingCopy wc) throws CoreException { ILaunchConfigurationTab tab = new ValgrindOptionsTab(); tab.setDefaults(wc); tab = ValgrindLaunchPlugin.getDefault().getToolPage(getToolID()); tab.setDefaults(wc); wc.setAttribute(LaunchConfigurationConstants.ATTR_TOOL, getToolID()); wc.setAttribute(LaunchConfigurationConstants.ATTR_FULLPATH_AFTER, false); }
@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); }