com.pvx.ooadide.launchers.thinclients.javx
Class JavXAppletLaunchConfigurationDelegate

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
          extended by com.pvx.ooadide.launchers.thinclients.javx.JavXAppletLaunchConfigurationDelegate
All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2

public class JavXAppletLaunchConfigurationDelegate
extends org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate


Constructor Summary
JavXAppletLaunchConfigurationDelegate()
           
 
Method Summary
 java.lang.String getJavaPolicyFile(java.io.File workingDir)
          Returns the system property string for the policy file
 java.lang.String getMainTypeName(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
 java.lang.String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
 java.lang.String getVMArguments(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
 void handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events)
           
 void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
          Used to map temp file to launch obejct.
 
Methods inherited from class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
getBootpath, getBootpathExt, getClasspath, getEnvironment, getJavaLibraryPath, getJavaProject, getJavaProjectName, getVMConnectorId, getVMInstall, getVMInstallName, getVMInstallType, getVMInstallTypeId, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, getWorkingDirectoryPath, isAllowTerminate, isStopInMain, preLaunchCheck, verifyJavaProject, verifyMainTypeName, verifyVMInstall, verifyWorkingDirectory
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
buildForLaunch, finalLaunchCheck, getLaunch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavXAppletLaunchConfigurationDelegate

public JavXAppletLaunchConfigurationDelegate()
Method Detail

getProgramArguments

public java.lang.String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                     throws org.eclipse.core.runtime.CoreException
Overrides:
getProgramArguments in class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration,
                   java.lang.String mode,
                   org.eclipse.debug.core.ILaunch launch,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException
Used to map temp file to launch obejct.

Throws:
org.eclipse.core.runtime.CoreException

getJavaPolicyFile

public java.lang.String getJavaPolicyFile(java.io.File workingDir)
Returns the system property string for the policy file

Parameters:
workingDir - the working directory
Returns:
system property for the policy file

handleDebugEvents

public void handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events)
Specified by:
handleDebugEvents in interface org.eclipse.debug.core.IDebugEventSetListener
Overrides:
handleDebugEvents in class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate

getVMArguments

public java.lang.String getVMArguments(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                throws org.eclipse.core.runtime.CoreException
Overrides:
getVMArguments in class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException

getMainTypeName

public java.lang.String getMainTypeName(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                 throws org.eclipse.core.runtime.CoreException
Overrides:
getMainTypeName in class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException