Examples of RunTargetImpl


Examples of com.google.collide.dto.client.DtoClientImpls.RunTargetImpl

      PathUtil currentAlwaysRunPath = new PathUtil(currentTarget.getAlwaysRunFilename());
      PathUtil relativePath = currentAlwaysRunPath.makeRelativeToParent(oldPath);
      if (relativePath != null) {
        // Either this node, or some ancestor node got renamed.
        PathUtil newFilePath = PathUtil.concatenate(newPath, relativePath);
        RunTargetImpl impl = (RunTargetImpl) currentTarget;
        impl.setAlwaysRunFilename(newFilePath.getPathString());
        targetPopup.setRunTarget(impl);
      }
    }
View Full Code Here

Examples of com.google.collide.dto.client.DtoClientImpls.RunTargetImpl

        runTarget.getAlwaysRunFilename()));
    getView().userExtraInput.setValue(StringUtils.nullToEmpty(runTarget.getAlwaysRunUrlOrQuery()));
  }

  public RunTarget getRunTarget() {
    RunTargetImpl runTarget = RunTargetImpl.make();

    boolean isPreviewMode = Elements.asJsElement(getView().runPreviewRadio).isChecked();
    runTarget.setRunMode(isPreviewMode ? RunMode.PREVIEW_CURRENT_FILE : RunMode.ALWAYS_RUN);

    runTarget.setAlwaysRunFilename(getView().runAlwaysDropdown.getInput().getValue());
    runTarget.setAlwaysRunUrlOrQuery(getView().userExtraInput.getValue());

    return runTarget;
  }
View Full Code Here

Examples of com.google.collide.dto.server.DtoServerImpls.RunTargetImpl

    vertx.eventBus()
        .registerHandler(addressBase + ".updateRunTarget", new Handler<Message<JsonObject>>() {
            @Override
          public void handle(Message<JsonObject> event) {
            RunTargetImpl runTarget = RunTargetImpl.fromJsonString(Dto.get(event));
            WorkspaceState.this.runTarget = runTarget;
          }
        });
  }
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.