Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2018-08-20 05:15:48 -0400
committerLars Vogel2018-08-21 03:59:04 -0400
commitfa8208b3e6dae200303783dbf7c84e5654cff1cf (patch)
treec38e077f29d7b3183ea96a0900fcfd4bdc57ff37 /examples/org.eclipse.swt.examples.views
parent8071802af162872682c25e9d67e3f86d11dc4539 (diff)
downloadeclipse.platform.swt-fa8208b3e6dae200303783dbf7c84e5654cff1cf.tar.gz
eclipse.platform.swt-fa8208b3e6dae200303783dbf7c84e5654cff1cf.tar.xz
eclipse.platform.swt-fa8208b3e6dae200303783dbf7c84e5654cff1cf.zip
Bug 530393 - EPL 2.0 update for SWT for swt.example plug-ins
This updates files to EPL 2.0. As this repo contains also LGPL code, I added only files containing 'Eclipse Public License 2.0' via: git grep --name-only 'Eclipse Public License 2.0' | xargs git add Regex used for replacement: find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {} + find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/www.eclipse.org\/legal\/epl-v10.html/\1\2https:\/\/www.eclipse.org\/legal\/epl-2.0\/\ \1\ \1\2SPDX-License-Identifier: EPL-2.0/' {} + # Get rid of the All rights reserved find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" ! -name "pom.xml" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: Ifad89e954b50112a71c30842130e558d171631f6 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'examples/org.eclipse.swt.examples.views')
-rw-r--r--examples/org.eclipse.swt.examples.views/build.properties9
-rw-r--r--examples/org.eclipse.swt.examples.views/plugin.properties9
-rw-r--r--examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/browserexample/BrowserView.java9
-rw-r--r--examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/ControlView.java9
-rw-r--r--examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/CustomControlView.java9
-rw-r--r--examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/layouts/LayoutView.java9
-rw-r--r--examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/paint/PaintView.java9
7 files changed, 42 insertions, 21 deletions
diff --git a/examples/org.eclipse.swt.examples.views/build.properties b/examples/org.eclipse.swt.examples.views/build.properties
index df814256df..ad52b15a7b 100644
--- a/examples/org.eclipse.swt.examples.views/build.properties
+++ b/examples/org.eclipse.swt.examples.views/build.properties
@@ -1,9 +1,12 @@
###############################################################################
# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
diff --git a/examples/org.eclipse.swt.examples.views/plugin.properties b/examples/org.eclipse.swt.examples.views/plugin.properties
index b0b5b1ab69..d896e3014a 100644
--- a/examples/org.eclipse.swt.examples.views/plugin.properties
+++ b/examples/org.eclipse.swt.examples.views/plugin.properties
@@ -1,9 +1,12 @@
###############################################################################
# Copyright (c) 2000, 2005 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
diff --git a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/browserexample/BrowserView.java b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/browserexample/BrowserView.java
index cb034e6cb5..d201d30ef7 100644
--- a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/browserexample/BrowserView.java
+++ b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/browserexample/BrowserView.java
@@ -1,9 +1,12 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
diff --git a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/ControlView.java b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/ControlView.java
index 8ac034b003..95de81ce11 100644
--- a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/ControlView.java
+++ b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/ControlView.java
@@ -1,9 +1,12 @@
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
diff --git a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/CustomControlView.java b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/CustomControlView.java
index 4fb2fedc6a..a2cbd7cff2 100644
--- a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/CustomControlView.java
+++ b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/controls/CustomControlView.java
@@ -1,9 +1,12 @@
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
diff --git a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/layouts/LayoutView.java b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/layouts/LayoutView.java
index e0781134e7..3d2216f805 100644
--- a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/layouts/LayoutView.java
+++ b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/layouts/LayoutView.java
@@ -1,9 +1,12 @@
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
diff --git a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/paint/PaintView.java b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/paint/PaintView.java
index 7d7bd08ad3..d792379853 100644
--- a/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/paint/PaintView.java
+++ b/examples/org.eclipse.swt.examples.views/src/org/eclipse/swt/examples/paint/PaintView.java
@@ -1,9 +1,12 @@
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation

Back to the top