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()); }
public void launchRemoved() { if (debugProject != null) { ChromiumDebugPluginUtil.deleteVirtualProjectAsync(debugProject); } }