modesteditor.launch
Class ModestLaunchDelegate

java.lang.Object
  extended by modesteditor.launch.ModestLaunchDelegate
All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate

public class ModestLaunchDelegate
extends java.lang.Object
implements org.eclipse.debug.core.model.ILaunchConfigurationDelegate

This class performs the actual task of running the compiler and getting the C++ soures out of it or the dot file.


Constructor Summary
ModestLaunchDelegate()
           
 
Method Summary
 void launch(org.eclipse.debug.core.ILaunchConfiguration config, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
          Performs a launch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModestLaunchDelegate

public ModestLaunchDelegate()
Method Detail

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration config,
                   java.lang.String mode,
                   org.eclipse.debug.core.ILaunch launch,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException
Performs a launch. This method is called by Eclipse when the user wants to run something.

The information entered by the user in the 'Run...' dialog is passed here in the given launch configuration. Eclipse also creates a new launch object to manage the processes we will create. This method's job is only to run the modest compiler in a new process and add it to the given launch object.

Specified by:
launch in interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException