Frontend API

@Injectable() export class FileExplorerMessageHandler

Handle the messages from the fileexplorer subprotocol. It is a not a FBP Network Protocol but a protocol built for this program. To keep consistency into the program, this subprotocol uses the FBP Messages’s format, as described in /src/types/fbp-message.ts.

This subprotocol is used to received workspace’s root folder’s content updates.

Created by antoine on 26/06/17.

handleMessage (ev: MessageEvent)

Redirect the given message to the proper handler method.

private updateNodes (msg: Object)

Update the tree explorer nodes content