1
/*******************************************************************************
2
* Copyright (c) 2008, 2012 Red Hat, Inc.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Elliott Baron <ebaron@redhat.com> - initial API and implementation
10
* Red Hat Inc. - modification to use code in this plug-in
11
*******************************************************************************/
12
package org.eclipse.linuxtools.internal.gprof.launch;
14
import org.eclipse.core.runtime.CoreException;
15
import org.eclipse.debug.core.ILaunchConfigurationType;
16
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
17
import org.eclipse.linuxtools.gprof.launch.GprofLaunchPlugin;
18
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut;
20
public class GprofLaunchShortcut extends ProfileLaunchShortcut {
24
protected void setDefaultProfileAttributes(
25
ILaunchConfigurationWorkingCopy wc) throws CoreException {
29
* Method getValgrindLaunchConfigType.
30
* @return ILaunchConfigurationType
33
protected ILaunchConfigurationType getLaunchConfigType() {
34
return getLaunchManager().getLaunchConfigurationType(GprofLaunchPlugin.LAUNCH_ID);