PTP
Release 5.0

org.eclipse.ptp.launch
Class ParallelLaunchConfigurationDelegate

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.ptp.launch.AbstractParallelLaunchConfigurationDelegate
          extended by org.eclipse.ptp.launch.ParallelLaunchConfigurationDelegate
All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2, org.eclipse.ptp.launch.rulesengine.ILaunchProcessCallback

public class ParallelLaunchConfigurationDelegate
extends AbstractParallelLaunchConfigurationDelegate

A launch configuration delegate for launching jobs via the PTP resource manager mechanism.


Field Summary
 
Fields inherited from class org.eclipse.ptp.launch.AbstractParallelLaunchConfigurationDelegate
jobSubmissions
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
ParallelLaunchConfigurationDelegate()
           
 
Method Summary
protected  void doCleanupLaunch(IPLaunch launch)
          Called to cleanup once the job terminates
protected  void doCompleteJobLaunch(IPLaunch launch, IPDebugger debugger)
          This method is called when the job state changes to RUNNING.
 void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
           
protected  void showPTPDebugView(String viewID)
          Show the PTP Debug view
protected  void switchPerspective(String perspectiveID)
          Used to force switching to the PTP Debug perspective
 
Methods inherited from class org.eclipse.ptp.launch.AbstractParallelLaunchConfigurationDelegate
addSynchronizationRule, copyExecutable, copyFileFromRemoteHost, copyFileToRemoteHost, doPostLaunchSynchronization, doPreLaunchSynchronization, getArguments, getCopyExecutable, getDebugConfig, getDebuggerExePath, getDebuggerID, getDebuggerStopInMainFlag, getDebuggerWorkDirectory, getEnvironmentToAppend, getExecutablePath, getLaunch, getLocalFileManager, getProgramArguments, getProgramName, getProgramPath, getProject, getProjectName, getQueueDefault, getQueueName, getRemoteFileManager, getResourceManager, getResourceManagerUniqueName, getSynchronizeRules, getWorkingDirectory, getWorkspaceRoot, setDefaultSourceLocator, setSourceLocator, setWorkingDirectory, submitJob, verifyDebuggerPath, verifyExecutablePath, verifyLaunchAttributes, verifyProject, verifyResource, verifyWorkDirectory
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getBuildOrder, getProjectsForProblemSearch, isLaunchProblem, preLaunchCheck, saveBeforeLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelLaunchConfigurationDelegate

public ParallelLaunchConfigurationDelegate()
Method Detail

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration,
                   String mode,
                   org.eclipse.debug.core.ILaunch launch,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

doCleanupLaunch

protected void doCleanupLaunch(IPLaunch launch)
Description copied from class: AbstractParallelLaunchConfigurationDelegate
Called to cleanup once the job terminates

Specified by:
doCleanupLaunch in class AbstractParallelLaunchConfigurationDelegate

doCompleteJobLaunch

protected void doCompleteJobLaunch(IPLaunch launch,
                                   IPDebugger debugger)
Description copied from class: AbstractParallelLaunchConfigurationDelegate
This method is called when the job state changes to RUNNING. This allows the launcher to complete the job launch.

Specified by:
doCompleteJobLaunch in class AbstractParallelLaunchConfigurationDelegate

showPTPDebugView

protected void showPTPDebugView(String viewID)
Show the PTP Debug view

Parameters:
viewID -

switchPerspective

protected void switchPerspective(String perspectiveID)
Used to force switching to the PTP Debug perspective

Parameters:
perspectiveID -

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.