org.eclipse.etrice.generator.launch.java
Class JavaGeneratorLaunchConfigurationDelegate

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
          extended by org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate
              extended by org.eclipse.etrice.generator.launch.java.JavaGeneratorLaunchConfigurationDelegate
All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2

public class JavaGeneratorLaunchConfigurationDelegate
extends GeneratorLaunchConfigurationDelegate

Author:
Henrik Rentz-Reichert

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate
GeneratorLaunchConfigurationDelegate.ConsoleLineOutput
 
Field Summary
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
JavaGeneratorLaunchConfigurationDelegate()
           
 
Method Summary
protected  void addArguments(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.StringBuffer argString)
          assemble the command line by adding further parameters
protected  java.lang.String getConsoleName()
           
protected  void runGenerator(java.lang.String[] args, ILineOutput out)
          call the generator main method
 
Methods inherited from class org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate
addModels, launch
 
Methods inherited from class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
abort, getBootpath, getBootpathExt, getBreakpoints, getBuildOrder, getClasspath, getDefaultWorkingDirectory, getEnvironment, getJavaLibraryPath, getJavaProject, getJavaProjectName, getLaunchManager, getMainTypeName, getProgramArguments, getProjectsForProblemSearch, getVMArguments, getVMConnectorId, getVMInstall, getVMInstallName, getVMInstallType, getVMInstallTypeId, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, getWorkingDirectoryPath, handleDebugEvents, isAllowTerminate, isLaunchProblem, isStopInMain, preLaunchCheck, prepareStopInMain, setDefaultSourceLocator, verifyJavaProject, verifyMainTypeName, verifyVMInstall, verifyWorkingDirectory
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getLaunch, saveBeforeLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaGeneratorLaunchConfigurationDelegate

public JavaGeneratorLaunchConfigurationDelegate()
Method Detail

addArguments

protected void addArguments(org.eclipse.debug.core.ILaunchConfiguration configuration,
                            java.lang.StringBuffer argString)
                     throws org.eclipse.core.runtime.CoreException
Description copied from class: GeneratorLaunchConfigurationDelegate
assemble the command line by adding further parameters

Specified by:
addArguments in class GeneratorLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException

runGenerator

protected void runGenerator(java.lang.String[] args,
                            ILineOutput out)
Description copied from class: GeneratorLaunchConfigurationDelegate
call the generator main method

Specified by:
runGenerator in class GeneratorLaunchConfigurationDelegate
Parameters:
args - the command line arguments
out - line wise output to console

getConsoleName

protected java.lang.String getConsoleName()
Specified by:
getConsoleName in class GeneratorLaunchConfigurationDelegate
Returns:
the name of the console for the generator output