@theia/secondary-window 1.34.2 → 1.34.3

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.
package/README.md CHANGED
@@ -1,35 +1,35 @@
1
- <div align='center'>
2
-
3
- <br />
4
-
5
- <img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
6
-
7
- <h2>ECLIPSE THEIA - SECONDARY WINDOW EXTENSION</h2>
8
-
9
- <hr />
10
-
11
- </div>
12
-
13
- ## Description
14
-
15
- The `@theia/secondary-window` extension contributes UI integration that allows moving widgets to secondary windows.
16
-
17
- ### Limitations
18
-
19
- - **The extension is currently only suitable for use in browser applications** because there are some unresolved issues with *Electron*.
20
- - Currently, only webview widgets can be moved to secondary windows.
21
-
22
- ## Additional Information
23
-
24
- - [Theia - GitHub](https://github.com/eclipse-theia/theia)
25
- - [Theia - Website](https://theia-ide.org/)
26
-
27
- ## License
28
-
29
- - [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
30
- - [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
31
-
32
- ## Trademark
33
-
34
- "Theia" is a trademark of the Eclipse Foundation
35
- <https://www.eclipse.org/theia>
1
+ <div align='center'>
2
+
3
+ <br />
4
+
5
+ <img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
6
+
7
+ <h2>ECLIPSE THEIA - SECONDARY WINDOW EXTENSION</h2>
8
+
9
+ <hr />
10
+
11
+ </div>
12
+
13
+ ## Description
14
+
15
+ The `@theia/secondary-window` extension contributes UI integration that allows moving widgets to secondary windows.
16
+
17
+ ### Limitations
18
+
19
+ - **The extension is currently only suitable for use in browser applications** because there are some unresolved issues with *Electron*.
20
+ - Currently, only webview widgets can be moved to secondary windows.
21
+
22
+ ## Additional Information
23
+
24
+ - [Theia - GitHub](https://github.com/eclipse-theia/theia)
25
+ - [Theia - Website](https://theia-ide.org/)
26
+
27
+ ## License
28
+
29
+ - [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
30
+ - [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
31
+
32
+ ## Trademark
33
+
34
+ "Theia" is a trademark of the Eclipse Foundation
35
+ <https://www.eclipse.org/theia>
@@ -1,11 +1,11 @@
1
- import { CommandRegistry, CommandContribution, Command } from '@theia/core/lib/common/command';
2
- import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
3
- import { SecondaryWindowHandler } from '@theia/core/lib/browser/secondary-window-handler';
4
- export declare const EXTRACT_WIDGET: Command;
5
- /** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
6
- export declare class SecondaryWindowContribution implements CommandContribution, TabBarToolbarContribution {
7
- protected readonly secondaryWindowHandler: SecondaryWindowHandler;
8
- registerCommands(commands: CommandRegistry): void;
9
- registerToolbarItems(registry: TabBarToolbarRegistry): void;
10
- }
1
+ import { CommandRegistry, CommandContribution, Command } from '@theia/core/lib/common/command';
2
+ import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
3
+ import { SecondaryWindowHandler } from '@theia/core/lib/browser/secondary-window-handler';
4
+ export declare const EXTRACT_WIDGET: Command;
5
+ /** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
6
+ export declare class SecondaryWindowContribution implements CommandContribution, TabBarToolbarContribution {
7
+ protected readonly secondaryWindowHandler: SecondaryWindowHandler;
8
+ registerCommands(commands: CommandRegistry): void;
9
+ registerToolbarItems(registry: TabBarToolbarRegistry): void;
10
+ }
11
11
  //# sourceMappingURL=secondary-window-frontend-contribution.d.ts.map
@@ -1,61 +1,61 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
- return c > 3 && r && Object.defineProperty(target, key, r), r;
22
- };
23
- var __metadata = (this && this.__metadata) || function (k, v) {
24
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
25
- };
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.SecondaryWindowContribution = exports.EXTRACT_WIDGET = void 0;
28
- const inversify_1 = require("@theia/core/shared/inversify");
29
- const command_1 = require("@theia/core/lib/common/command");
30
- const widgets_1 = require("@theia/core/lib/browser/widgets");
31
- const secondary_window_handler_1 = require("@theia/core/lib/browser/secondary-window-handler");
32
- exports.EXTRACT_WIDGET = command_1.Command.toLocalizedCommand({
33
- id: 'extract-widget',
34
- label: 'Move View to Secondary Window'
35
- }, 'theia/secondary-window/extract-widget');
36
- /** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
37
- let SecondaryWindowContribution = class SecondaryWindowContribution {
38
- registerCommands(commands) {
39
- commands.registerCommand(exports.EXTRACT_WIDGET, {
40
- execute: async (widget) => this.secondaryWindowHandler.moveWidgetToSecondaryWindow(widget),
41
- isVisible: widget => widgets_1.ExtractableWidget.is(widget),
42
- isEnabled: widget => widgets_1.ExtractableWidget.is(widget)
43
- });
44
- }
45
- registerToolbarItems(registry) {
46
- registry.registerItem({
47
- id: exports.EXTRACT_WIDGET.id,
48
- command: exports.EXTRACT_WIDGET.id,
49
- icon: (0, widgets_1.codicon)('window'),
50
- });
51
- }
52
- };
53
- __decorate([
54
- (0, inversify_1.inject)(secondary_window_handler_1.SecondaryWindowHandler),
55
- __metadata("design:type", secondary_window_handler_1.SecondaryWindowHandler)
56
- ], SecondaryWindowContribution.prototype, "secondaryWindowHandler", void 0);
57
- SecondaryWindowContribution = __decorate([
58
- (0, inversify_1.injectable)()
59
- ], SecondaryWindowContribution);
60
- exports.SecondaryWindowContribution = SecondaryWindowContribution;
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
22
+ };
23
+ var __metadata = (this && this.__metadata) || function (k, v) {
24
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.SecondaryWindowContribution = exports.EXTRACT_WIDGET = void 0;
28
+ const inversify_1 = require("@theia/core/shared/inversify");
29
+ const command_1 = require("@theia/core/lib/common/command");
30
+ const widgets_1 = require("@theia/core/lib/browser/widgets");
31
+ const secondary_window_handler_1 = require("@theia/core/lib/browser/secondary-window-handler");
32
+ exports.EXTRACT_WIDGET = command_1.Command.toLocalizedCommand({
33
+ id: 'extract-widget',
34
+ label: 'Move View to Secondary Window'
35
+ }, 'theia/secondary-window/extract-widget');
36
+ /** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
37
+ let SecondaryWindowContribution = class SecondaryWindowContribution {
38
+ registerCommands(commands) {
39
+ commands.registerCommand(exports.EXTRACT_WIDGET, {
40
+ execute: async (widget) => this.secondaryWindowHandler.moveWidgetToSecondaryWindow(widget),
41
+ isVisible: widget => widgets_1.ExtractableWidget.is(widget),
42
+ isEnabled: widget => widgets_1.ExtractableWidget.is(widget)
43
+ });
44
+ }
45
+ registerToolbarItems(registry) {
46
+ registry.registerItem({
47
+ id: exports.EXTRACT_WIDGET.id,
48
+ command: exports.EXTRACT_WIDGET.id,
49
+ icon: (0, widgets_1.codicon)('window'),
50
+ });
51
+ }
52
+ };
53
+ __decorate([
54
+ (0, inversify_1.inject)(secondary_window_handler_1.SecondaryWindowHandler),
55
+ __metadata("design:type", secondary_window_handler_1.SecondaryWindowHandler)
56
+ ], SecondaryWindowContribution.prototype, "secondaryWindowHandler", void 0);
57
+ SecondaryWindowContribution = __decorate([
58
+ (0, inversify_1.injectable)()
59
+ ], SecondaryWindowContribution);
60
+ exports.SecondaryWindowContribution = SecondaryWindowContribution;
61
61
  //# sourceMappingURL=secondary-window-frontend-contribution.js.map
@@ -1,4 +1,4 @@
1
- import { ContainerModule } from '@theia/core/shared/inversify';
2
- declare const _default: ContainerModule;
3
- export default _default;
1
+ import { ContainerModule } from '@theia/core/shared/inversify';
2
+ declare const _default: ContainerModule;
3
+ export default _default;
4
4
  //# sourceMappingURL=secondary-window-frontend-module.d.ts.map
@@ -1,27 +1,27 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const inversify_1 = require("@theia/core/shared/inversify");
19
- const secondary_window_frontend_contribution_1 = require("./secondary-window-frontend-contribution");
20
- const command_1 = require("@theia/core/lib/common/command");
21
- const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
22
- exports.default = new inversify_1.ContainerModule(bind => {
23
- bind(secondary_window_frontend_contribution_1.SecondaryWindowContribution).toSelf().inSingletonScope();
24
- bind(command_1.CommandContribution).toService(secondary_window_frontend_contribution_1.SecondaryWindowContribution);
25
- bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(secondary_window_frontend_contribution_1.SecondaryWindowContribution);
26
- });
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const inversify_1 = require("@theia/core/shared/inversify");
19
+ const secondary_window_frontend_contribution_1 = require("./secondary-window-frontend-contribution");
20
+ const command_1 = require("@theia/core/lib/common/command");
21
+ const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
22
+ exports.default = new inversify_1.ContainerModule(bind => {
23
+ bind(secondary_window_frontend_contribution_1.SecondaryWindowContribution).toSelf().inSingletonScope();
24
+ bind(command_1.CommandContribution).toService(secondary_window_frontend_contribution_1.SecondaryWindowContribution);
25
+ bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(secondary_window_frontend_contribution_1.SecondaryWindowContribution);
26
+ });
27
27
  //# sourceMappingURL=secondary-window-frontend-module.js.map
@@ -1,19 +1,19 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
- describe('secondary-window package', () => {
17
- it('supports code coverage statistics', () => true);
18
- });
1
+ // *****************************************************************************
2
+ // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+ describe('secondary-window package', () => {
17
+ it('supports code coverage statistics', () => true);
18
+ });
19
19
  //# sourceMappingURL=package.spec.js.map
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@theia/secondary-window",
3
- "version": "1.34.2",
3
+ "version": "1.34.3",
4
4
  "description": "Theia - Secondary Window Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.34.2"
6
+ "@theia/core": "1.34.3"
7
7
  },
8
8
  "publishConfig": {
9
9
  "access": "public"
@@ -38,7 +38,7 @@
38
38
  "watch": "theiaext watch"
39
39
  },
40
40
  "devDependencies": {
41
- "@theia/ext-scripts": "1.34.2"
41
+ "@theia/ext-scripts": "1.34.3"
42
42
  },
43
- "gitHead": "dba940bd8c0f9f4b324dad0e90d570d499456f60"
43
+ "gitHead": "a6cf9fe96b1624d6e27a11dce2ebdeae820478e5"
44
44
  }
@@ -1,50 +1,50 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- import { inject, injectable } from '@theia/core/shared/inversify';
18
- import { CommandRegistry, CommandContribution, Command } from '@theia/core/lib/common/command';
19
- import { codicon, ExtractableWidget } from '@theia/core/lib/browser/widgets';
20
- import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
21
- import { SecondaryWindowHandler } from '@theia/core/lib/browser/secondary-window-handler';
22
-
23
- export const EXTRACT_WIDGET = Command.toLocalizedCommand({
24
- id: 'extract-widget',
25
- label: 'Move View to Secondary Window'
26
- }, 'theia/secondary-window/extract-widget');
27
-
28
- /** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
29
- @injectable()
30
- export class SecondaryWindowContribution implements CommandContribution, TabBarToolbarContribution {
31
-
32
- @inject(SecondaryWindowHandler)
33
- protected readonly secondaryWindowHandler: SecondaryWindowHandler;
34
-
35
- registerCommands(commands: CommandRegistry): void {
36
- commands.registerCommand(EXTRACT_WIDGET, {
37
- execute: async widget => this.secondaryWindowHandler.moveWidgetToSecondaryWindow(widget),
38
- isVisible: widget => ExtractableWidget.is(widget),
39
- isEnabled: widget => ExtractableWidget.is(widget)
40
- });
41
- }
42
-
43
- registerToolbarItems(registry: TabBarToolbarRegistry): void {
44
- registry.registerItem({
45
- id: EXTRACT_WIDGET.id,
46
- command: EXTRACT_WIDGET.id,
47
- icon: codicon('window'),
48
- });
49
- }
50
- }
1
+ // *****************************************************************************
2
+ // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { inject, injectable } from '@theia/core/shared/inversify';
18
+ import { CommandRegistry, CommandContribution, Command } from '@theia/core/lib/common/command';
19
+ import { codicon, ExtractableWidget } from '@theia/core/lib/browser/widgets';
20
+ import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
21
+ import { SecondaryWindowHandler } from '@theia/core/lib/browser/secondary-window-handler';
22
+
23
+ export const EXTRACT_WIDGET = Command.toLocalizedCommand({
24
+ id: 'extract-widget',
25
+ label: 'Move View to Secondary Window'
26
+ }, 'theia/secondary-window/extract-widget');
27
+
28
+ /** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
29
+ @injectable()
30
+ export class SecondaryWindowContribution implements CommandContribution, TabBarToolbarContribution {
31
+
32
+ @inject(SecondaryWindowHandler)
33
+ protected readonly secondaryWindowHandler: SecondaryWindowHandler;
34
+
35
+ registerCommands(commands: CommandRegistry): void {
36
+ commands.registerCommand(EXTRACT_WIDGET, {
37
+ execute: async widget => this.secondaryWindowHandler.moveWidgetToSecondaryWindow(widget),
38
+ isVisible: widget => ExtractableWidget.is(widget),
39
+ isEnabled: widget => ExtractableWidget.is(widget)
40
+ });
41
+ }
42
+
43
+ registerToolbarItems(registry: TabBarToolbarRegistry): void {
44
+ registry.registerItem({
45
+ id: EXTRACT_WIDGET.id,
46
+ command: EXTRACT_WIDGET.id,
47
+ icon: codicon('window'),
48
+ });
49
+ }
50
+ }
@@ -1,27 +1,27 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- import { ContainerModule } from '@theia/core/shared/inversify';
18
- import { SecondaryWindowContribution } from './secondary-window-frontend-contribution';
19
- import { CommandContribution } from '@theia/core/lib/common/command';
20
- import { TabBarToolbarContribution } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
21
-
22
- export default new ContainerModule(bind => {
23
- bind(SecondaryWindowContribution).toSelf().inSingletonScope();
24
- bind(CommandContribution).toService(SecondaryWindowContribution);
25
- bind(TabBarToolbarContribution).toService(SecondaryWindowContribution);
26
- });
27
-
1
+ // *****************************************************************************
2
+ // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { ContainerModule } from '@theia/core/shared/inversify';
18
+ import { SecondaryWindowContribution } from './secondary-window-frontend-contribution';
19
+ import { CommandContribution } from '@theia/core/lib/common/command';
20
+ import { TabBarToolbarContribution } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
21
+
22
+ export default new ContainerModule(bind => {
23
+ bind(SecondaryWindowContribution).toSelf().inSingletonScope();
24
+ bind(CommandContribution).toService(SecondaryWindowContribution);
25
+ bind(TabBarToolbarContribution).toService(SecondaryWindowContribution);
26
+ });
27
+
@@ -1,19 +1,19 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- describe('secondary-window package', () => {
18
- it('supports code coverage statistics', () => true);
19
- });
1
+ // *****************************************************************************
2
+ // Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ describe('secondary-window package', () => {
18
+ it('supports code coverage statistics', () => true);
19
+ });