public interface WorkspaceBridge
Modifier and Type | Interface and Description |
---|---|
static interface |
WorkspaceBridge.BreakpointHandler
Breakpoint-related aspect of
WorkspaceBridge interface. |
static interface |
WorkspaceBridge.Factory
A factory interface for
WorkspaceBridge . |
static interface |
WorkspaceBridge.JsLabelProvider
Label provider for several debug elements.
|
Modifier and Type | Method and Description |
---|---|
void |
beforeDetach()
Detach command is about to be sent to JavaScript VM.
|
VmResource |
createTemporaryFile(VmResource.Metadata metadata,
java.lang.String proposedFileName)
Creates a temporary file associated with the debug session.
|
java.util.Collection<? extends VmResource> |
findVmResourcesFromWorkspaceFile(IFile resource) |
WorkspaceBridge.BreakpointHandler |
getBreakpointHandler()
Returns instance of breakpoint handler.
|
VmResource |
getVProjectVmResource(IFile file) |
void |
handleVmResetEvent()
Handles reset event in JavaScript VM (e.g.
|
void |
launchRemoved()
Virtual project is expected to stay live until launch is removed from Launches view.
|
void |
reloadScript(Script script)
Initiates script reloading from remote VM.
|
void |
scriptCollected(Script script)
Reports about the script having been collected and disposed in JavaScript VM.
|
void |
scriptLoaded(Script newScript)
Reports about new script loaded in JavaScript VM.
|
void |
startInitialization()
Called after session has been started.
|
void |
synchronizeBreakpoints(BreakpointSynchronizer.Direction direction,
BreakpointSynchronizer.Callback callback)
Performs breakpoint synchronization between remote VM and Eclipse IDE.
|
java.util.Collection<? extends VmResource> findVmResourcesFromWorkspaceFile(IFile resource) throws CoreException
CoreException
void startInitialization()
void reloadScript(Script script)
void scriptLoaded(Script newScript)
void scriptCollected(Script script)
void handleVmResetEvent()
void beforeDetach()
void launchRemoved()
WorkspaceBridge.BreakpointHandler getBreakpointHandler()
void synchronizeBreakpoints(BreakpointSynchronizer.Direction direction, BreakpointSynchronizer.Callback callback)
VmResource getVProjectVmResource(IFile file)
VmResource
representation of the file inside virtual project or nullVmResource createTemporaryFile(VmResource.Metadata metadata, java.lang.String proposedFileName)
VmResource
.Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.