@theia/plugin-dev 1.30.0-next.7 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ import { WorkspaceService } from '@theia/workspace/lib/browser';
4
4
  import { PluginDevServer } from '../common/plugin-dev-protocol';
5
5
  import { ConnectionStatusService } from '@theia/core/lib/browser/connection-status-service';
6
6
  import { FrontendApplicationStateService } from '@theia/core/lib/browser/frontend-application-state';
7
+ import { WindowTitleService } from '@theia/core/lib/browser/window/window-title-service';
7
8
  /**
8
9
  * Informs the user whether Theia is running with hosted plugin.
9
10
  * Adds 'Development Host' status bar element and appends the same prefix to window title.
@@ -18,8 +19,8 @@ export declare class HostedPluginInformer implements FrontendApplicationContribu
18
19
  protected readonly hostedPluginServer: PluginDevServer;
19
20
  protected readonly connectionStatusService: ConnectionStatusService;
20
21
  protected readonly frontendApplicationStateService: FrontendApplicationStateService;
22
+ protected readonly windowTitleService: WindowTitleService;
21
23
  initialize(): void;
22
24
  private updateStatusBarElement;
23
- private updateTitle;
24
25
  }
25
26
  //# sourceMappingURL=hosted-plugin-informer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hosted-plugin-informer.d.ts","sourceRoot":"","sources":["../../src/browser/hosted-plugin-informer.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAsC,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAoB,MAAM,mDAAmD,CAAC;AAE9G,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AAGrG;;;GAGG;AACH,qBACa,oBAAqB,YAAW,+BAA+B;IAExE,gBAAuB,sBAAsB,SAAgE;IAE7G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CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,eAAe,CAAC;IAGvD,SAAS,CAAC,QAAQ,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;IAGpE,SAAS,CAAC,QAAQ,CAAC,+BAA+B,EAAE,+BAA+B,CAAC;IAGpF,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAEnD,UAAU,IAAI,IAAI;IAuBzB,OAAO,CAAC,sBAAsB;CAUjC"}
@@ -34,29 +34,29 @@ const plugin_dev_protocol_1 = require("../common/plugin-dev-protocol");
34
34
  const connection_status_service_1 = require("@theia/core/lib/browser/connection-status-service");
35
35
  const frontend_application_state_1 = require("@theia/core/lib/browser/frontend-application-state");
36
36
  const nls_1 = require("@theia/core/lib/common/nls");
37
+ const window_title_service_1 = require("@theia/core/lib/browser/window/window-title-service");
37
38
  /**
38
39
  * Informs the user whether Theia is running with hosted plugin.
39
40
  * Adds 'Development Host' status bar element and appends the same prefix to window title.
40
41
  */
41
42
  let HostedPluginInformer = HostedPluginInformer_1 = class HostedPluginInformer {
42
43
  initialize() {
43
- this.workspaceService.roots.then(roots => {
44
- const workspaceFolder = roots[0];
45
- this.hostedPluginServer.getHostedPlugin().then(pluginMetadata => {
46
- if (pluginMetadata) {
47
- this.updateTitle(workspaceFolder);
48
- this.entry = {
49
- text: `$(cube) ${HostedPluginInformer_1.DEVELOPMENT_HOST_TITLE}`,
50
- tooltip: `${nls_1.nls.localize('theia/plugin-dev/hostedPlugin', 'Hosted Plugin')} '${pluginMetadata.model.name}'`,
51
- alignment: browser_1.StatusBarAlignment.LEFT,
52
- priority: 100
53
- };
54
- this.frontendApplicationStateService.reachedState('ready').then(() => {
55
- this.updateStatusBarElement();
56
- });
57
- this.connectionStatusService.onStatusChange(() => this.updateStatusBarElement());
58
- }
59
- });
44
+ this.hostedPluginServer.getHostedPlugin().then(pluginMetadata => {
45
+ if (pluginMetadata) {
46
+ this.windowTitleService.update({
47
+ developmentHost: HostedPluginInformer_1.DEVELOPMENT_HOST_TITLE
48
+ });
49
+ this.entry = {
50
+ text: `$(cube) ${HostedPluginInformer_1.DEVELOPMENT_HOST_TITLE}`,
51
+ tooltip: `${nls_1.nls.localize('theia/plugin-dev/hostedPlugin', 'Hosted Plugin')} '${pluginMetadata.model.name}'`,
52
+ alignment: browser_1.StatusBarAlignment.LEFT,
53
+ priority: 100
54
+ };
55
+ this.frontendApplicationStateService.reachedState('ready').then(() => {
56
+ this.updateStatusBarElement();
57
+ });
58
+ this.connectionStatusService.onStatusChange(() => this.updateStatusBarElement());
59
+ }
60
60
  });
61
61
  }
62
62
  updateStatusBarElement() {
@@ -68,15 +68,6 @@ let HostedPluginInformer = HostedPluginInformer_1 = class HostedPluginInformer {
68
68
  }
69
69
  this.statusBar.setElement(HostedPluginInformer_1.DEVELOPMENT_HOST, this.entry);
70
70
  }
71
- updateTitle(root) {
72
- if (root) {
73
- const uri = root.resource;
74
- document.title = HostedPluginInformer_1.DEVELOPMENT_HOST_TITLE + ' - ' + uri.displayName;
75
- }
76
- else {
77
- document.title = HostedPluginInformer_1.DEVELOPMENT_HOST_TITLE;
78
- }
79
- }
80
71
  };
81
72
  HostedPluginInformer.DEVELOPMENT_HOST_TITLE = nls_1.nls.localize('theia/plugin-dev/devHost', 'Development Host');
82
73
  HostedPluginInformer.DEVELOPMENT_HOST = 'development-host';
@@ -101,6 +92,10 @@ __decorate([
101
92
  (0, inversify_1.inject)(frontend_application_state_1.FrontendApplicationStateService),
102
93
  __metadata("design:type", frontend_application_state_1.FrontendApplicationStateService)
103
94
  ], HostedPluginInformer.prototype, "frontendApplicationStateService", void 0);
95
+ __decorate([
96
+ (0, inversify_1.inject)(window_title_service_1.WindowTitleService),
97
+ __metadata("design:type", window_title_service_1.WindowTitleService)
98
+ ], HostedPluginInformer.prototype, "windowTitleService", void 0);
104
99
  HostedPluginInformer = HostedPluginInformer_1 = __decorate([
105
100
  (0, inversify_1.injectable)()
106
101
  ], HostedPluginInformer);
@@ -1 +1 @@
1
- {"version":3,"file":"hosted-plugin-informer.js","sourceRoot":"","sources":["../../src/browser/hosted-plugin-informer.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;;AAEhF,4DAAkE;AAClE,8EAA0E;AAC1E,qDAA8G;AAC9G,0DAAgE;AAChE,uEAAgE;AAChE,iGAA8G;AAE9G,mGAAqG;AACrG,oDAAiD;AAEjD;;;GAGG;AAEH,IAAa,oBAAoB,4BAAjC,MAAa,oBAAoB;IAyBtB,UAAU;QACb,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YACrC,MAAM,eAAe,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACjC,IAAI,CAAC,kBAAkB,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;gBAC5D,IAAI,cAAc,EAAE;oBAChB,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;oBAElC,IAAI,CAAC,KAAK,GAAG;wBACT,IAAI,EAAE,WAAW,sBAAoB,CAAC,sBAAsB,EAAE;wBAC9D,OAAO,EAAE,GAAG,SAAG,CAAC,QAAQ,CAAC,+BAA+B,EAAE,eAAe,CAAC,KAAK,cAAc,CAAC,KAAK,CAAC,IAAI,GAAG;wBAC3G,SAAS,EAAE,4BAAkB,CAAC,IAAI;wBAClC,QAAQ,EAAE,GAAG;qBAChB,CAAC;oBAEF,IAAI,CAAC,+BAA+B,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;wBACjE,IAAI,CAAC,sBAAsB,EAAE,CAAC;oBA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16 +1,16 @@
1
1
  {
2
2
  "name": "@theia/plugin-dev",
3
- "version": "1.30.0-next.7+98a0bf6944d",
3
+ "version": "1.30.0",
4
4
  "description": "Theia - Plugin Development Extension",
5
5
  "main": "lib/common/index.js",
6
6
  "typings": "lib/common/index.d.ts",
7
7
  "dependencies": {
8
- "@theia/core": "1.30.0-next.7+98a0bf6944d",
9
- "@theia/debug": "1.30.0-next.7+98a0bf6944d",
10
- "@theia/filesystem": "1.30.0-next.7+98a0bf6944d",
11
- "@theia/output": "1.30.0-next.7+98a0bf6944d",
12
- "@theia/plugin-ext": "1.30.0-next.7+98a0bf6944d",
13
- "@theia/workspace": "1.30.0-next.7+98a0bf6944d",
8
+ "@theia/core": "1.30.0",
9
+ "@theia/debug": "1.30.0",
10
+ "@theia/filesystem": "1.30.0",
11
+ "@theia/output": "1.30.0",
12
+ "@theia/plugin-ext": "1.30.0",
13
+ "@theia/workspace": "1.30.0",
14
14
  "@types/request": "^2.0.3",
15
15
  "ps-tree": "^1.2.0",
16
16
  "request": "^2.82.0"
@@ -50,10 +50,10 @@
50
50
  "watch": "theiaext watch"
51
51
  },
52
52
  "devDependencies": {
53
- "@theia/ext-scripts": "1.29.0"
53
+ "@theia/ext-scripts": "1.30.0"
54
54
  },
55
55
  "nyc": {
56
56
  "extends": "../../configs/nyc.json"
57
57
  },
58
- "gitHead": "98a0bf6944d8ef0cfa3cef52b1c1cb35b4eea063"
58
+ "gitHead": "1b32ca5626bb8252143b7a6ad6b513410f49366e"
59
59
  }
@@ -20,9 +20,9 @@ import { StatusBarAlignment, StatusBarEntry, FrontendApplicationContribution } f
20
20
  import { WorkspaceService } from '@theia/workspace/lib/browser';
21
21
  import { PluginDevServer } from '../common/plugin-dev-protocol';
22
22
  import { ConnectionStatusService, ConnectionStatus } from '@theia/core/lib/browser/connection-status-service';
23
- import { FileStat } from '@theia/filesystem/lib/common/files';
24
23
  import { FrontendApplicationStateService } from '@theia/core/lib/browser/frontend-application-state';
25
24
  import { nls } from '@theia/core/lib/common/nls';
25
+ import { WindowTitleService } from '@theia/core/lib/browser/window/window-title-service';
26
26
 
27
27
  /**
28
28
  * Informs the user whether Theia is running with hosted plugin.
@@ -54,27 +54,29 @@ export class HostedPluginInformer implements FrontendApplicationContribution {
54
54
  @inject(FrontendApplicationStateService)
55
55
  protected readonly frontendApplicationStateService: FrontendApplicationStateService;
56
56
 
57
+ @inject(WindowTitleService)
58
+ protected readonly windowTitleService: WindowTitleService;
59
+
57
60
  public initialize(): void {
58
- this.workspaceService.roots.then(roots => {
59
- const workspaceFolder = roots[0];
60
- this.hostedPluginServer.getHostedPlugin().then(pluginMetadata => {
61
- if (pluginMetadata) {
62
- this.updateTitle(workspaceFolder);
63
-
64
- this.entry = {
65
- text: `$(cube) ${HostedPluginInformer.DEVELOPMENT_HOST_TITLE}`,
66
- tooltip: `${nls.localize('theia/plugin-dev/hostedPlugin', 'Hosted Plugin')} '${pluginMetadata.model.name}'`,
67
- alignment: StatusBarAlignment.LEFT,
68
- priority: 100
69
- };
70
-
71
- this.frontendApplicationStateService.reachedState('ready').then(() => {
72
- this.updateStatusBarElement();
73
- });
74
-
75
- this.connectionStatusService.onStatusChange(() => this.updateStatusBarElement());
76
- }
77
- });
61
+ this.hostedPluginServer.getHostedPlugin().then(pluginMetadata => {
62
+ if (pluginMetadata) {
63
+ this.windowTitleService.update({
64
+ developmentHost: HostedPluginInformer.DEVELOPMENT_HOST_TITLE
65
+ });
66
+
67
+ this.entry = {
68
+ text: `$(cube) ${HostedPluginInformer.DEVELOPMENT_HOST_TITLE}`,
69
+ tooltip: `${nls.localize('theia/plugin-dev/hostedPlugin', 'Hosted Plugin')} '${pluginMetadata.model.name}'`,
70
+ alignment: StatusBarAlignment.LEFT,
71
+ priority: 100
72
+ };
73
+
74
+ this.frontendApplicationStateService.reachedState('ready').then(() => {
75
+ this.updateStatusBarElement();
76
+ });
77
+
78
+ this.connectionStatusService.onStatusChange(() => this.updateStatusBarElement());
79
+ }
78
80
  });
79
81
  }
80
82
 
@@ -88,13 +90,4 @@ export class HostedPluginInformer implements FrontendApplicationContribution {
88
90
  this.statusBar.setElement(HostedPluginInformer.DEVELOPMENT_HOST, this.entry);
89
91
  }
90
92
 
91
- private updateTitle(root: FileStat | undefined): void {
92
- if (root) {
93
- const uri = root.resource;
94
- document.title = HostedPluginInformer.DEVELOPMENT_HOST_TITLE + ' - ' + uri.displayName;
95
- } else {
96
- document.title = HostedPluginInformer.DEVELOPMENT_HOST_TITLE;
97
- }
98
- }
99
-
100
93
  }