コード例 #1
0
  public VProjectWorkspaceBridge(
      String projectName, ConnectedTargetData connectedTargetData, JavascriptVm javascriptVm) {
    this.connectedTargetData = connectedTargetData;
    this.javascriptVm = javascriptVm;
    this.debugProject = ChromiumDebugPluginUtil.createEmptyProject(projectName);
    this.resourceManager = new ResourceManager(debugProject);

    ILaunch launch = connectedTargetData.getDebugTarget().getLaunch();

    sourceDirector = (ChromiumSourceDirector) launch.getSourceLocator();
    sourceDirector.initializeVProjectContainers(
        debugProject, resourceManager, connectedTargetData.getJavascriptEmbedder());
  }
コード例 #2
0
 public void launchRemoved() {
   if (debugProject != null) {
     ChromiumDebugPluginUtil.deleteVirtualProjectAsync(debugProject);
   }
 }