From dd215c2688e94b43cbbf256be0de5226c2be0282 Mon Sep 17 00:00:00 2001 From: delchev Date: Mon, 13 Nov 2017 19:20:34 +0200 Subject: [PATCH] license header fixes --- .../main/resources/ide-console/console.html | 10 ++++++++++ .../src/main/resources/ide-console/console.js | 12 +++++++++++- ide/ide-core/src/main/resources/ide/index.html | 12 +++++++++++- .../src/main/resources/ide/properties.html | 12 ++++++++++++ .../src/main/resources/ide/services/editor.js | 6 ++---- .../src/main/resources/ide/services/menu.js | 6 ++---- .../main/resources/ide/services/menu/file.js | 8 +++----- .../main/resources/ide/services/menu/help.js | 8 +++----- .../main/resources/ide/services/menu/window.js | 8 +++----- .../resources/ide/services/perspectives.js | 6 ++---- .../main/resources/ide/services/templates.js | 4 ++-- .../main/resources/ide/services/user-name.js | 6 ++---- .../src/main/resources/ide/services/views.js | 6 ++---- .../main/resources/ide/services/workbench.js | 12 +++++++++++- .../src/main/resources/ide/ui/message-hub.js | 12 +++++++++++- .../resources/ide/ui/ui-core-ng-modules.js | 12 +++++++++++- .../src/main/resources/ide/ui/ui-layout.js | 12 +++++++++++- .../src/main/resources/ide/welcome.html | 10 ++++++++++ .../ide-database/explorer/explorer.html | 10 ++++++++++ .../ide-database/explorer/explorer.js | 10 ++++++++++ .../ide-database/services/database.js | 10 ++++++++++ .../ide-database/services/explorer.js | 12 +++++++++++- .../ide-database/services/menu-database.js | 6 ++---- .../resources/ide-database/services/sql.js | 12 +++++++++++- .../resources/ide-database/sql/editor.html | 10 ++++++++++ .../resources/ide-database/sql/result.html | 10 ++++++++++ .../src/main/resources/ide-git/git/git.html | 10 ++++++++++ .../src/main/resources/ide-git/git/git.js | 12 +++++++++++- .../src/main/resources/ide-git/index.html | 10 ++++++++++ .../ide-git/services/git-perspective.js | 10 ++++++++++ .../resources/ide-git/services/git-view.js | 12 +++++++++++- .../resources/ide-git/services/menu-git.js | 6 ++---- .../resources/ide-git/services/menu/git.js | 8 +++----- .../main/resources/ide-help/services/help.js | 12 +++++++++++- .../src/main/resources/ide-orion/editor.html | 18 ++++++++++++++---- .../editorBuild/commonjs-simplified.js | 10 ++++++++++ .../main/resources/ide-preview/preview-view.js | 12 +++++++++++- .../main/resources/ide-preview/preview.html | 10 ++++++++++ .../src/main/resources/ide-preview/preview.js | 10 ++++++++++ .../main/resources/ide-repository/index.html | 10 ++++++++++ .../resources/ide-repository/repository.html | 10 ++++++++++ .../resources/ide-repository/repository.js | 12 +++++++++++- .../ide-repository/services/menu-repository.js | 6 ++---- .../ide-repository/services/menu/repository.js | 8 +++----- .../services/repository-perspective.js | 10 ++++++++++ .../ide-repository/services/repository-view.js | 12 +++++++++++- .../ide-repository/services/snapshot-view.js | 12 +++++++++++- .../resources/ide-repository/snapshot.html | 12 +++++++++++- .../main/resources/ide-repository/snapshot.js | 12 +++++++++++- .../src/main/resources/ide-terminal/index.html | 10 ++++++++++ .../ide-terminal/services/menu-terminal.js | 6 ++---- .../ide-terminal/services/menu/terminal.js | 8 +++----- .../services/terminal-perspective.js | 10 ++++++++++ .../ide-terminal/services/terminal-view.js | 12 +++++++++++- .../main/resources/ide-terminal/terminal.html | 10 ++++++++++ .../main/resources/ide-workspace/import.html | 12 +++++++++++- .../ide-workspace/services/import-view.js | 12 +++++++++++- .../ide-workspace/services/workspace-view.js | 12 +++++++++++- .../resources/ide-workspace/workspace.html | 10 ++++++++++ 59 files changed, 495 insertions(+), 93 deletions(-) diff --git a/ide/ide-console/src/main/resources/ide-console/console.html b/ide/ide-console/src/main/resources/ide-console/console.html index d60dc79ef86..e8b0ebe4a2f 100644 --- a/ide/ide-console/src/main/resources/ide-console/console.html +++ b/ide/ide-console/src/main/resources/ide-console/console.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-console/src/main/resources/ide-console/console.js b/ide/ide-console/src/main/resources/ide-console/console.js index f252a629c2b..6b9c46d643b 100644 --- a/ide/ide-console/src/main/resources/ide-console/console.js +++ b/ide/ide-console/src/main/resources/ide-console/console.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"console", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-console/console.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-core/src/main/resources/ide/index.html b/ide/ide-core/src/main/resources/ide/index.html index daccaa0b617..23e74bbcf74 100644 --- a/ide/ide-core/src/main/resources/ide/index.html +++ b/ide/ide-core/src/main/resources/ide/index.html @@ -1,4 +1,14 @@ + + @@ -87,4 +97,4 @@ - \ No newline at end of file + diff --git a/ide/ide-core/src/main/resources/ide/properties.html b/ide/ide-core/src/main/resources/ide/properties.html index b8b47291811..54e763c15f1 100644 --- a/ide/ide-core/src/main/resources/ide/properties.html +++ b/ide/ide-core/src/main/resources/ide/properties.html @@ -1,3 +1,15 @@ + + + + diff --git a/ide/ide-core/src/main/resources/ide/services/editor.js b/ide/ide-core/src/main/resources/ide/services/editor.js index e1ffad5043f..a0a7a551e10 100644 --- a/ide/ide-core/src/main/resources/ide/services/editor.js +++ b/ide/ide-core/src/main/resources/ide/services/editor.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-core/src/main/resources/ide/services/menu.js b/ide/ide-core/src/main/resources/ide/services/menu.js index da82b977499..6c69581fc5d 100644 --- a/ide/ide-core/src/main/resources/ide/services/menu.js +++ b/ide/ide-core/src/main/resources/ide/services/menu.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-core/src/main/resources/ide/services/menu/file.js b/ide/ide-core/src/main/resources/ide/services/menu/file.js index 7dbfed8dabd..1401e237642 100644 --- a/ide/ide-core/src/main/resources/ide/services/menu/file.js +++ b/ide/ide-core/src/main/resources/ide/services/menu/file.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ exports.getMenu = function() { var menu = { @@ -33,4 +31,4 @@ exports.getMenu = function() { ] }; return menu; -} \ No newline at end of file +} diff --git a/ide/ide-core/src/main/resources/ide/services/menu/help.js b/ide/ide-core/src/main/resources/ide/services/menu/help.js index 6d2cedf57da..d5845c94c2b 100644 --- a/ide/ide-core/src/main/resources/ide/services/menu/help.js +++ b/ide/ide-core/src/main/resources/ide/services/menu/help.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ exports.getMenu = function() { var menu = { @@ -55,4 +53,4 @@ exports.getMenu = function() { ] }; return menu; -} \ No newline at end of file +} diff --git a/ide/ide-core/src/main/resources/ide/services/menu/window.js b/ide/ide-core/src/main/resources/ide/services/menu/window.js index cb1ccf14e07..3340cdabb3e 100644 --- a/ide/ide-core/src/main/resources/ide/services/menu/window.js +++ b/ide/ide-core/src/main/resources/ide/services/menu/window.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); @@ -63,4 +61,4 @@ exports.getMenu = function() { } return menu; -} \ No newline at end of file +} diff --git a/ide/ide-core/src/main/resources/ide/services/perspectives.js b/ide/ide-core/src/main/resources/ide/services/perspectives.js index f3e7b34414e..2a3a6a1cd0e 100644 --- a/ide/ide-core/src/main/resources/ide/services/perspectives.js +++ b/ide/ide-core/src/main/resources/ide/services/perspectives.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-core/src/main/resources/ide/services/templates.js b/ide/ide-core/src/main/resources/ide/services/templates.js index 97af626b894..09eb7401177 100644 --- a/ide/ide-core/src/main/resources/ide/services/templates.js +++ b/ide/ide-core/src/main/resources/ide/services/templates.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-core/src/main/resources/ide/services/user-name.js b/ide/ide-core/src/main/resources/ide/services/user-name.js index d8ae4691c9d..0c96e9534d0 100644 --- a/ide/ide-core/src/main/resources/ide/services/user-name.js +++ b/ide/ide-core/src/main/resources/ide/services/user-name.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var user = require('security/v3/user'); var response = require('http/v3/response'); diff --git a/ide/ide-core/src/main/resources/ide/services/views.js b/ide/ide-core/src/main/resources/ide/services/views.js index a398b18d9e2..94ce989fd75 100644 --- a/ide/ide-core/src/main/resources/ide/services/views.js +++ b/ide/ide-core/src/main/resources/ide/services/views.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-core/src/main/resources/ide/services/workbench.js b/ide/ide-core/src/main/resources/ide/services/workbench.js index 8906304dd2b..646aa95538e 100644 --- a/ide/ide-core/src/main/resources/ide/services/workbench.js +++ b/ide/ide-core/src/main/resources/ide/services/workbench.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getPerspective = function() { var perspective = { "name":"Workbench", @@ -6,4 +16,4 @@ exports.getPerspective = function() { "image":"files-o" }; return perspective; -} \ No newline at end of file +} diff --git a/ide/ide-core/src/main/resources/ide/ui/message-hub.js b/ide/ide-core/src/main/resources/ide/ui/message-hub.js index 358f01e032e..fd7f3622789 100644 --- a/ide/ide-core/src/main/resources/ide/ui/message-hub.js +++ b/ide/ide-core/src/main/resources/ide/ui/message-hub.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + (function (name, context, definition) { // AMD -> CommonJS -> Globals if (typeof module != 'undefined' && module.exports) @@ -110,4 +120,4 @@ } return FramesMessageHub; -})); \ No newline at end of file +})); diff --git a/ide/ide-core/src/main/resources/ide/ui/ui-core-ng-modules.js b/ide/ide-core/src/main/resources/ide/ui/ui-core-ng-modules.js index 1e4b5370f5a..3d39f0d1cf8 100644 --- a/ide/ide-core/src/main/resources/ide/ui/ui-core-ng-modules.js +++ b/ide/ide-core/src/main/resources/ide/ui/ui-core-ng-modules.js @@ -1,7 +1,17 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + /** * Provides key microservices for constructing and managing the IDE UI * -*/ + */ angular.module('ideUiCore', ['ngResource']) .provider('messageHub', function MessageHubProvider() { this.evtNamePrefix = ''; diff --git a/ide/ide-core/src/main/resources/ide/ui/ui-layout.js b/ide/ide-core/src/main/resources/ide/ui/ui-layout.js index 983a09b5503..ae5fbe316f5 100644 --- a/ide/ide-core/src/main/resources/ide/ui/ui-layout.js +++ b/ide/ide-core/src/main/resources/ide/ui/ui-layout.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + var ViewRegistry = function() { var _views = {}; @@ -335,4 +345,4 @@ function uuidv4() { return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) ) -} \ No newline at end of file +} diff --git a/ide/ide-core/src/main/resources/ide/welcome.html b/ide/ide-core/src/main/resources/ide/welcome.html index 33ec7ae2216..52a545342cd 100644 --- a/ide/ide-core/src/main/resources/ide/welcome.html +++ b/ide/ide-core/src/main/resources/ide/welcome.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-database/src/main/resources/ide-database/explorer/explorer.html b/ide/ide-database/src/main/resources/ide-database/explorer/explorer.html index 4410b72c4e5..060c40ab0ee 100644 --- a/ide/ide-database/src/main/resources/ide-database/explorer/explorer.html +++ b/ide/ide-database/src/main/resources/ide-database/explorer/explorer.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-database/src/main/resources/ide-database/explorer/explorer.js b/ide/ide-database/src/main/resources/ide-database/explorer/explorer.js index 9eebe009b01..59f64dc39be 100644 --- a/ide/ide-database/src/main/resources/ide-database/explorer/explorer.js +++ b/ide/ide-database/src/main/resources/ide-database/explorer/explorer.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + var messageHub = new FramesMessageHub(); messageHub.fireFileOpen = function(fileDescriptor){ diff --git a/ide/ide-database/src/main/resources/ide-database/services/database.js b/ide/ide-database/src/main/resources/ide-database/services/database.js index 992362a9725..338dc3ea1b9 100644 --- a/ide/ide-database/src/main/resources/ide-database/services/database.js +++ b/ide/ide-database/src/main/resources/ide-database/services/database.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getPerspective = function() { var perspective = { "name":"Database", diff --git a/ide/ide-database/src/main/resources/ide-database/services/explorer.js b/ide/ide-database/src/main/resources/ide-database/services/explorer.js index 4ec35b8a43a..e694809a7f2 100644 --- a/ide/ide-database/src/main/resources/ide-database/services/explorer.js +++ b/ide/ide-database/src/main/resources/ide-database/services/explorer.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"database", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-database/explorer/explorer.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-database/src/main/resources/ide-database/services/menu-database.js b/ide/ide-database/src/main/resources/ide-database/services/menu-database.js index 1130f119658..47a26a61438 100644 --- a/ide/ide-database/src/main/resources/ide-database/services/menu-database.js +++ b/ide/ide-database/src/main/resources/ide-database/services/menu-database.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-database/src/main/resources/ide-database/services/sql.js b/ide/ide-database/src/main/resources/ide-database/services/sql.js index 431bed2d5df..ad3f597c6f3 100644 --- a/ide/ide-database/src/main/resources/ide-database/services/sql.js +++ b/ide/ide-database/src/main/resources/ide-database/services/sql.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"sql", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-database/sql/sql.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-database/src/main/resources/ide-database/sql/editor.html b/ide/ide-database/src/main/resources/ide-database/sql/editor.html index 1455c0bf821..baf1e4913d5 100644 --- a/ide/ide-database/src/main/resources/ide-database/sql/editor.html +++ b/ide/ide-database/src/main/resources/ide-database/sql/editor.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-database/src/main/resources/ide-database/sql/result.html b/ide/ide-database/src/main/resources/ide-database/sql/result.html index 0e524e9feed..ffb2e6667f2 100644 --- a/ide/ide-database/src/main/resources/ide-database/sql/result.html +++ b/ide/ide-database/src/main/resources/ide-database/sql/result.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-git/src/main/resources/ide-git/git/git.html b/ide/ide-git/src/main/resources/ide-git/git/git.html index 52db6346ac2..47336aac963 100644 --- a/ide/ide-git/src/main/resources/ide-git/git/git.html +++ b/ide/ide-git/src/main/resources/ide-git/git/git.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-git/src/main/resources/ide-git/git/git.js b/ide/ide-git/src/main/resources/ide-git/git/git.js index 65ccf8df286..ac5b61c71f7 100644 --- a/ide/ide-git/src/main/resources/ide-git/git/git.js +++ b/ide/ide-git/src/main/resources/ide-git/git/git.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + /** * Utility URL builder */ @@ -594,4 +604,4 @@ angular.module('workspace', ['workspace.config', 'ngAnimate', 'ngSanitize', 'ui. this.wsTree.refresh(); }; -}]); \ No newline at end of file +}]); diff --git a/ide/ide-git/src/main/resources/ide-git/index.html b/ide/ide-git/src/main/resources/ide-git/index.html index 576a7d1a5e8..c9dc062902a 100644 --- a/ide/ide-git/src/main/resources/ide-git/index.html +++ b/ide/ide-git/src/main/resources/ide-git/index.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-git/src/main/resources/ide-git/services/git-perspective.js b/ide/ide-git/src/main/resources/ide-git/services/git-perspective.js index fa27ee89040..fd333998c61 100644 --- a/ide/ide-git/src/main/resources/ide-git/services/git-perspective.js +++ b/ide/ide-git/src/main/resources/ide-git/services/git-perspective.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getPerspective = function() { var perspective = { "name":"Git", diff --git a/ide/ide-git/src/main/resources/ide-git/services/git-view.js b/ide/ide-git/src/main/resources/ide-git/services/git-view.js index 3cf64d47098..b233129da64 100644 --- a/ide/ide-git/src/main/resources/ide-git/services/git-view.js +++ b/ide/ide-git/src/main/resources/ide-git/services/git-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"git", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-git/git/git.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-git/src/main/resources/ide-git/services/menu-git.js b/ide/ide-git/src/main/resources/ide-git/services/menu-git.js index 21108a1a68e..6e0c38a51cc 100644 --- a/ide/ide-git/src/main/resources/ide-git/services/menu-git.js +++ b/ide/ide-git/src/main/resources/ide-git/services/menu-git.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-git/src/main/resources/ide-git/services/menu/git.js b/ide/ide-git/src/main/resources/ide-git/services/menu/git.js index b67a1d239b2..3e3ed2038c9 100644 --- a/ide/ide-git/src/main/resources/ide-git/services/menu/git.js +++ b/ide/ide-git/src/main/resources/ide-git/services/menu/git.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ exports.getMenu = function() { var menu = { @@ -26,4 +24,4 @@ exports.getMenu = function() { ] }; return menu; -} \ No newline at end of file +} diff --git a/ide/ide-help/src/main/resources/ide-help/services/help.js b/ide/ide-help/src/main/resources/ide-help/services/help.js index b47d6b60cea..212a8a579d7 100644 --- a/ide/ide-help/src/main/resources/ide-help/services/help.js +++ b/ide/ide-help/src/main/resources/ide-help/services/help.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getPerspective = function() { var perspective = { "name":"Help", @@ -6,4 +16,4 @@ exports.getPerspective = function() { "image":"life-ring" }; return perspective; -} \ No newline at end of file +} diff --git a/ide/ide-orion/src/main/resources/ide-orion/editor.html b/ide/ide-orion/src/main/resources/ide-orion/editor.html index 508818b2fb0..8af939d84e4 100644 --- a/ide/ide-orion/src/main/resources/ide-orion/editor.html +++ b/ide/ide-orion/src/main/resources/ide-orion/editor.html @@ -1,4 +1,14 @@ + + @@ -132,9 +142,9 @@ - -
-
- + +
+
+ diff --git a/ide/ide-orion/src/main/resources/ide-orion/editorBuild/commonjs-simplified.js b/ide/ide-orion/src/main/resources/ide-orion/editorBuild/commonjs-simplified.js index 766763a44b5..9fe6faad25b 100644 --- a/ide/ide-orion/src/main/resources/ide-orion/editorBuild/commonjs-simplified.js +++ b/ide/ide-orion/src/main/resources/ide-orion/editorBuild/commonjs-simplified.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + define([ 'tern/lib/tern', 'tern/lib/infer' diff --git a/ide/ide-preview/src/main/resources/ide-preview/preview-view.js b/ide/ide-preview/src/main/resources/ide-preview/preview-view.js index a000a3ed883..4d0458aa357 100644 --- a/ide/ide-preview/src/main/resources/ide-preview/preview-view.js +++ b/ide/ide-preview/src/main/resources/ide-preview/preview-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"preview", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-preview/preview.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-preview/src/main/resources/ide-preview/preview.html b/ide/ide-preview/src/main/resources/ide-preview/preview.html index 55abeb9194e..e3243dedd8f 100644 --- a/ide/ide-preview/src/main/resources/ide-preview/preview.html +++ b/ide/ide-preview/src/main/resources/ide-preview/preview.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-preview/src/main/resources/ide-preview/preview.js b/ide/ide-preview/src/main/resources/ide-preview/preview.js index 1da15d58b55..c8070e1714c 100644 --- a/ide/ide-preview/src/main/resources/ide-preview/preview.js +++ b/ide/ide-preview/src/main/resources/ide-preview/preview.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + angular.module('preview', []) .factory('$messageHub', [function(){ var messageHub = new FramesMessageHub(); diff --git a/ide/ide-repository/src/main/resources/ide-repository/index.html b/ide/ide-repository/src/main/resources/ide-repository/index.html index 4239b9955c7..9af1fb390c9 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/index.html +++ b/ide/ide-repository/src/main/resources/ide-repository/index.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-repository/src/main/resources/ide-repository/repository.html b/ide/ide-repository/src/main/resources/ide-repository/repository.html index 14ad3bb7e08..9146f4da4f5 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/repository.html +++ b/ide/ide-repository/src/main/resources/ide-repository/repository.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-repository/src/main/resources/ide-repository/repository.js b/ide/ide-repository/src/main/resources/ide-repository/repository.js index 6e131f0a0bb..6be6a73aa72 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/repository.js +++ b/ide/ide-repository/src/main/resources/ide-repository/repository.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + /** * Utility URL builder */ @@ -652,4 +662,4 @@ angular.module('repository', ['repository.config']) this.repositoryTree.refresh(); }; -}]); \ No newline at end of file +}]); diff --git a/ide/ide-repository/src/main/resources/ide-repository/services/menu-repository.js b/ide/ide-repository/src/main/resources/ide-repository/services/menu-repository.js index 7df8adf542e..8a79c9073bf 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/services/menu-repository.js +++ b/ide/ide-repository/src/main/resources/ide-repository/services/menu-repository.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-repository/src/main/resources/ide-repository/services/menu/repository.js b/ide/ide-repository/src/main/resources/ide-repository/services/menu/repository.js index 923476677f4..2967fdfdb00 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/services/menu/repository.js +++ b/ide/ide-repository/src/main/resources/ide-repository/services/menu/repository.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ exports.getMenu = function() { var menu = { @@ -26,4 +24,4 @@ exports.getMenu = function() { ] }; return menu; -} \ No newline at end of file +} diff --git a/ide/ide-repository/src/main/resources/ide-repository/services/repository-perspective.js b/ide/ide-repository/src/main/resources/ide-repository/services/repository-perspective.js index f36b47ae3d3..66a1042d3d3 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/services/repository-perspective.js +++ b/ide/ide-repository/src/main/resources/ide-repository/services/repository-perspective.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getPerspective = function() { var perspective = { "name":"Repository", diff --git a/ide/ide-repository/src/main/resources/ide-repository/services/repository-view.js b/ide/ide-repository/src/main/resources/ide-repository/services/repository-view.js index 389f1f7a375..5b0aead0efc 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/services/repository-view.js +++ b/ide/ide-repository/src/main/resources/ide-repository/services/repository-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"repository", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-repository/repository.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-repository/src/main/resources/ide-repository/services/snapshot-view.js b/ide/ide-repository/src/main/resources/ide-repository/services/snapshot-view.js index 746edd0335d..64a5b11004c 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/services/snapshot-view.js +++ b/ide/ide-repository/src/main/resources/ide-repository/services/snapshot-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"snapshot", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-repository/snapshot.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-repository/src/main/resources/ide-repository/snapshot.html b/ide/ide-repository/src/main/resources/ide-repository/snapshot.html index da45c67c652..62c163150a7 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/snapshot.html +++ b/ide/ide-repository/src/main/resources/ide-repository/snapshot.html @@ -1,4 +1,14 @@ + + @@ -122,4 +132,4 @@

Upload queue

- \ No newline at end of file + diff --git a/ide/ide-repository/src/main/resources/ide-repository/snapshot.js b/ide/ide-repository/src/main/resources/ide-repository/snapshot.js index 364ac67bbe9..645bde530a0 100644 --- a/ide/ide-repository/src/main/resources/ide-repository/snapshot.js +++ b/ide/ide-repository/src/main/resources/ide-repository/snapshot.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + /*globals angular, $ */ angular .module('import', ['angularFileUpload']) @@ -83,4 +93,4 @@ angular $('').appendTo('head'); }.bind(this)); -}]); \ No newline at end of file +}]); diff --git a/ide/ide-terminal/src/main/resources/ide-terminal/index.html b/ide/ide-terminal/src/main/resources/ide-terminal/index.html index 02a56ab8743..90d74d7d507 100644 --- a/ide/ide-terminal/src/main/resources/ide-terminal/index.html +++ b/ide/ide-terminal/src/main/resources/ide-terminal/index.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-terminal/src/main/resources/ide-terminal/services/menu-terminal.js b/ide/ide-terminal/src/main/resources/ide-terminal/services/menu-terminal.js index 73ceeb9e7f9..b2fa9e2435a 100644 --- a/ide/ide-terminal/src/main/resources/ide-terminal/services/menu-terminal.js +++ b/ide/ide-terminal/src/main/resources/ide-terminal/services/menu-terminal.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ var extensions = require('core/v3/extensions'); var response = require('http/v3/response'); diff --git a/ide/ide-terminal/src/main/resources/ide-terminal/services/menu/terminal.js b/ide/ide-terminal/src/main/resources/ide-terminal/services/menu/terminal.js index d87e75d726e..00fcd2a9b2a 100644 --- a/ide/ide-terminal/src/main/resources/ide-terminal/services/menu/terminal.js +++ b/ide/ide-terminal/src/main/resources/ide-terminal/services/menu/terminal.js @@ -1,4 +1,4 @@ -/******************************************************************************* +/* * Copyright (c) 2017 SAP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -6,9 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * Contributors: * SAP - initial API and implementation - *******************************************************************************/ - -/* eslint-env node, dirigible */ + */ exports.getMenu = function() { var menu = { @@ -26,4 +24,4 @@ exports.getMenu = function() { ] }; return menu; -} \ No newline at end of file +} diff --git a/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-perspective.js b/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-perspective.js index 28c34e9dd72..4dc16a62d71 100644 --- a/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-perspective.js +++ b/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-perspective.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getPerspective = function() { var perspective = { "name":"Terminal", diff --git a/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-view.js b/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-view.js index 6b9e2f33f44..998543c97f2 100644 --- a/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-view.js +++ b/ide/ide-terminal/src/main/resources/ide-terminal/services/terminal-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"terminal", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-terminal/terminal.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-terminal/src/main/resources/ide-terminal/terminal.html b/ide/ide-terminal/src/main/resources/ide-terminal/terminal.html index 1e29e4b705f..b422aaf4751 100644 --- a/ide/ide-terminal/src/main/resources/ide-terminal/terminal.html +++ b/ide/ide-terminal/src/main/resources/ide-terminal/terminal.html @@ -1,4 +1,14 @@ + + diff --git a/ide/ide-workspace/src/main/resources/ide-workspace/import.html b/ide/ide-workspace/src/main/resources/ide-workspace/import.html index ecd988354f4..0fd7761fb57 100644 --- a/ide/ide-workspace/src/main/resources/ide-workspace/import.html +++ b/ide/ide-workspace/src/main/resources/ide-workspace/import.html @@ -1,4 +1,14 @@ + + @@ -124,4 +134,4 @@

Upload queue

- \ No newline at end of file + diff --git a/ide/ide-workspace/src/main/resources/ide-workspace/services/import-view.js b/ide/ide-workspace/src/main/resources/ide-workspace/services/import-view.js index 8887f60921a..88584120930 100644 --- a/ide/ide-workspace/src/main/resources/ide-workspace/services/import-view.js +++ b/ide/ide-workspace/src/main/resources/ide-workspace/services/import-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"import", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-workspace/import.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-workspace/src/main/resources/ide-workspace/services/workspace-view.js b/ide/ide-workspace/src/main/resources/ide-workspace/services/workspace-view.js index 942186b03de..cc0d7a9310e 100644 --- a/ide/ide-workspace/src/main/resources/ide-workspace/services/workspace-view.js +++ b/ide/ide-workspace/src/main/resources/ide-workspace/services/workspace-view.js @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2017 SAP and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * Contributors: + * SAP - initial API and implementation + */ + exports.getView = function() { var view = { "id":"workspace", @@ -8,4 +18,4 @@ exports.getView = function() { "link":"../ide-workspace/workspace.html" }; return view; -} \ No newline at end of file +} diff --git a/ide/ide-workspace/src/main/resources/ide-workspace/workspace.html b/ide/ide-workspace/src/main/resources/ide-workspace/workspace.html index 5dbddeccc7e..0744bb61866 100644 --- a/ide/ide-workspace/src/main/resources/ide-workspace/workspace.html +++ b/ide/ide-workspace/src/main/resources/ide-workspace/workspace.html @@ -1,4 +1,14 @@ + +