| /******************************************************************************* |
| * Copyright (c) 2008, 2018 Red Hat, Inc. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Elliott Baron <ebaron@redhat.com> - initial API and implementation |
| * Red Hat Inc. - modification to use code in this plug-in |
| *******************************************************************************/ |
| package org.eclipse.linuxtools.internal.gprof.launch; |
| |
| import org.eclipse.debug.core.ILaunchConfigurationType; |
| import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; |
| import org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut; |
| |
| public class GprofLaunchShortcut extends ProfileLaunchShortcut { |
| |
| @Override |
| protected void setDefaultProfileAttributes( |
| ILaunchConfigurationWorkingCopy wc) { |
| //nothing to do |
| } |
| |
| /** |
| * Method getValgrindLaunchConfigType. |
| * @return ILaunchConfigurationType |
| */ |
| @Override |
| protected ILaunchConfigurationType getLaunchConfigType() { |
| return getLaunchManager().getLaunchConfigurationType(GprofLaunch.LAUNCH_ID); |
| } |
| |
| } |