Java 类org.eclipse.debug.core.model.ILaunchConfigurationDelegate2 实例源码

项目:eclemma    文件:CoverageLauncher.java   
public void setInitializationData(IConfigurationElement config,
    String propertyName, Object data) throws CoreException {
  final String launchtype = config.getAttribute("type"); //$NON-NLS-1$
  launchdelegate = getLaunchDelegate(launchtype);
  if (launchdelegate instanceof ILaunchConfigurationDelegate2) {
    launchdelegate2 = (ILaunchConfigurationDelegate2) launchdelegate;
  }
}