Package org.eclipse.debug.core

Examples of org.eclipse.debug.core.ILaunchConfigurationType


    }
  }

  private ILaunchConfigurationDelegate getLaunchDelegate(String launchtype)
      throws CoreException {
    ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager()
        .getLaunchConfigurationType(launchtype);
    if (type == null) {
      throw new CoreException(EclEmmaStatus.UNKOWN_LAUNCH_TYPE_ERROR.getStatus(
          launchtype, null));
    }
    return type.getDelegate(DELEGATELAUNCHMODE);
  }
View Full Code Here


    }
  }

  private ILaunchConfigurationDelegate getLaunchDelegate(String launchtype)
      throws CoreException {
    ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager()
        .getLaunchConfigurationType(launchtype);
    if (type == null) {
      throw new CoreException(
          EclEmmaStatus.UNKOWN_LAUNCH_TYPE_ERROR.getStatus(launchtype));
    }
    return type.getDelegates(Collections.singleton(DELEGATELAUNCHMODE))[0]
        .getDelegate();
  }
View Full Code Here

    }
  }

  private ILaunchConfigurationDelegate getLaunchDelegate(String launchtype)
      throws CoreException {
    ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager()
        .getLaunchConfigurationType(launchtype);
    if (type == null) {
      throw new CoreException(EclEmmaStatus.UNKOWN_LAUNCH_TYPE_ERROR
          .getStatus(launchtype));
    }
    return type.getDelegate(DELEGATELAUNCHMODE);
  }
View Full Code Here

    }
  }

  private ILaunchConfigurationDelegate getLaunchDelegate(String launchtype)
      throws CoreException {
    ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager()
        .getLaunchConfigurationType(launchtype);
    if (type == null) {
      throw new CoreException(
          EclEmmaStatus.UNKOWN_LAUNCH_TYPE_ERROR.getStatus(launchtype));
    }
    return type.getDelegates(Collections.singleton(DELEGATELAUNCHMODE))[0]
        .getDelegate();
  }
View Full Code Here

    }
  }

  private ILaunchConfigurationDelegate getLaunchDelegate(String launchtypeid)
      throws CoreException {
    ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager()
        .getLaunchConfigurationType(launchtypeid);
    if (type == null) {
      throw new CoreException(EclEmmaStatus.UNKOWN_LAUNCH_TYPE_ERROR.getStatus(
          launchtypeid, null));
    }
    return type.getDelegate(DELEGATELAUNCHMODE);
  }
View Full Code Here

    }
  }

  private ILaunchConfigurationDelegate getLaunchDelegate(String launchtype)
      throws CoreException {
    ILaunchConfigurationType type = DebugPlugin.getDefault().getLaunchManager()
        .getLaunchConfigurationType(launchtype);
    if (type == null) {
      throw new CoreException(EclEmmaStatus.UNKOWN_LAUNCH_TYPE_ERROR.getStatus(
          launchtype, null));
    }
    return type.getDelegate(DELEGATELAUNCHMODE);
  }
View Full Code Here

    if( type == null ) return null;

    ILaunchConfiguration config = null;
    ILaunchConfigurationWorkingCopy wc = null;
    try {
      ILaunchConfigurationType configType = getConfigurationType();

      if(RunJettyRunTab.isWebappProject(type.getProject())){
        String launchConfigName = getLaunchManager().
          generateLaunchConfigurationName(type.getProject().getName());

        wc = configType.newInstance(null, launchConfigName);

        IProject proj =  type.getProject();
        RunJettyRunTab.initDefaultConfiguration(wc,
            proj == null ? null : proj.getName(), launchConfigName);
View Full Code Here

    if( type == null ) return null;

    ILaunchConfiguration config = null;
    ILaunchConfigurationWorkingCopy wc = null;
    try {
      ILaunchConfigurationType configType = getConfigurationType();

      if(RunJettyRunTab.isWebappProject(type.getProject())){
        String launchConfigName = getLaunchManager().
          generateLaunchConfigurationName(type.getProject().getName());

        wc = configType.newInstance(null, launchConfigName);

        IProject proj =  type.getProject();
        RunJettyRunTab.initDefaultConfiguration(wc,
            proj == null ? null : proj.getName(), launchConfigName);
View Full Code Here

    if( type == null ) return null;

    ILaunchConfiguration config = null;
    ILaunchConfigurationWorkingCopy wc = null;
    try {
      ILaunchConfigurationType configType = getConfigurationType();

      if(RunJettyRunTab.isWebappProject(type.getProject())){
        String launchConfigName = getLaunchManager().
          generateLaunchConfigurationName(type.getProject().getName());

        wc = configType.newInstance(null, launchConfigName);
        RunJettyRunTab.initDefaultConfiguration(wc, type.getProject(), launchConfigName);
        //set mapped resource , let next time we could execute this directly from menuitem.
        wc.setMappedResources(new IResource[] {type});
        config = wc.doSave();
      }else{
View Full Code Here

    if( type == null ) return null;

    ILaunchConfiguration config = null;
    ILaunchConfigurationWorkingCopy wc = null;
    try {
      ILaunchConfigurationType configType = getConfigurationType();

      if(RunJettyRunTab.isWebappProject(type.getProject())){
        String launchConfigName = getLaunchManager().
          generateLaunchConfigurationName(type.getProject().getName());

        wc = configType.newInstance(null, launchConfigName);
        RunJettyRunTab.initDefaultConfiguration(wc, type.getProject(), launchConfigName);
        //set mapped resource , let next time we could execute this directly from menuitem.
        wc.setMappedResources(new IResource[] {type});
        config = wc.doSave();
      }else{
View Full Code Here

TOP

Related Classes of org.eclipse.debug.core.ILaunchConfigurationType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.