Package org.jboss.ide.eclipse.as.core.server

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


  }

  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

Related Classes of org.jboss.ide.eclipse.as.core.server.ILaunchConfigConfigurator

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.