Package org.cloudfoundry.ide.eclipse.server.core.internal.tunnel

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.tunnel.ServiceCommandManager


          ServiceCommand editedCommand = wizard.getEditedServiceCommand();

          if (editedCommand != null) {
            // Add the new one
            boolean added = new ServiceCommandManager(serviceCommands).addCommand(service.getServiceInfo(),
                editedCommand);

            if (!added) {
              notifyStatusChange(CloudFoundryPlugin.getErrorStatus(Messages.ServiceTunnelCommandPart_ERROR_FAIL_TO_ADD
                  + editedCommand.getDisplayName()));
View Full Code Here


  @Override
  public boolean performFinish() {
    AddCommandDisplayPart part = page != null ? page.getCommandPart() : null;

    if (part != null) {
      editedCommand = new ServiceCommandManager(commands).createCommand(part.getDisplayName());

      if (editedCommand != null) {
        // External application location should never be null
        ExternalApplication appInfo = new ExternalApplication();
        appInfo.setExecutableNameAndPath(part.getExecutableLocation());
View Full Code Here

TOP

Related Classes of org.cloudfoundry.ide.eclipse.server.core.internal.tunnel.ServiceCommandManager

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.