Examples of ILaunchConfigConfigurator


Examples of org.jboss.ide.eclipse.as.core.server.ILaunchConfigConfigurator

  @Override
  public void setupLaunchConfiguration(
      ILaunchConfigurationWorkingCopy workingCopy,
      IProgressMonitor monitor) throws CoreException {
    ILaunchConfigConfigurator configurator = getConfigurator();
    if (configurator != null) {
      configurator.configure(workingCopy);
    }
  }
View Full Code Here

Examples of org.jboss.ide.eclipse.as.core.server.ILaunchConfigConfigurator

  }

  protected ILaunchConfigConfigurator getConfigurator() throws CoreException {
    KarafServerDelegate serverDel = (KarafServerDelegate)getServer().loadAdapter(KarafServerDelegate.class, new NullProgressMonitor());
    if (serverDel != null) {
      ILaunchConfigConfigurator cfg = serverDel.getLaunchConfigurator();
      if (cfg != null) {
        return cfg;
      }
    }
    throw new CoreException(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Unable to retrieve a launch configuration for server type " + getServer().getServerType().getId()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.