Examples of ITunnelServiceCommands


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

  }

  @Override
  protected Control createContents(Composite parent) {
    try {
      ITunnelServiceCommands commands = TunnelServiceCommandStore.getCurrentStore().getTunnelServiceCommands();

      part = new ServiceTunnelCommandPart(commands, null);
      part.addPartChangeListener(new IPartChangeListener() {

        public void handleChange(PartChangeEvent event) {
View Full Code Here

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

    return super.performOk();
  }

  public void handleServerServiceCommandSave() {
    if (part != null) {
      ITunnelServiceCommands updatedCommands = part.getUpdatedCommands();
      try {
        TunnelServiceCommandStore.getCurrentStore().storeServerServiceCommands(updatedCommands);
      }
      catch (CoreException e) {
        setErrorMessage(NLS.bind(Messages.ServiceTunnelCommandPreferencePage_ERROR_FAIL_TO_SAVE, e.getMessage()));
View Full Code Here

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

    UIJob job = new UIJob(Messages.CommandDefinitionActions_TEXT_CMD_DEF) {

      @Override
      public IStatus runInUIThread(IProgressMonitor monitor) {
        try {
          ITunnelServiceCommands commands = TunnelServiceCommandStore.getCurrentStore()
              .getTunnelServiceCommands();
          Shell shell = getShell();

          if (shell != null) {
            ServiceInfo serviceInfo = null;
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.