-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export DataTree to csv through FileDialogService
Using Theia Backend to write files instead Users can choose file name/path in both browser & electron Show success/error message after Signed-off-by: hriday-panchasara <hriday.panchasara@ericsson.com>
- Loading branch information
1 parent
84f8d2f
commit b7cc4f1
Showing
5 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
theia-extensions/viewer-prototype/src/common/backend-file-service.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { CancellationToken } from '@theia/core'; | ||
import { CancellationToken, URI } from '@theia/core'; | ||
|
||
export const backendFileServicePath = '/services/theia-trace-extension/backend-service'; | ||
export const BackendFileService = Symbol('BackendFileService'); | ||
|
||
export interface BackendFileService { | ||
findTraces(uri: string, cancellationToken: CancellationToken): Promise<string[]>; | ||
writeToFile(uri: URI, data: string): Promise<string>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters