From fac0ca9ddc63badedfa372d716e58502480fba66 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Fri, 17 Jul 2015 12:10:14 -0400 Subject: [PATCH] Add copyrights to the QML parser source files. Change-Id: Iae5bcf4000e66d3655ef0a47cb68aac8c18eced9 --- qt/org.eclipse.cdt.qt.qml.core/ECMAScript.g4 | 8 ++++++++ qt/org.eclipse.cdt.qt.qml.core/QML.g4 | 7 +++++++ .../cdt/qt/qml/core/internal/Activator.java | 15 +++++++-------- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/qt/org.eclipse.cdt.qt.qml.core/ECMAScript.g4 b/qt/org.eclipse.cdt.qt.qml.core/ECMAScript.g4 index 8b8ff87cf53..3cfbd47ed93 100644 --- a/qt/org.eclipse.cdt.qt.qml.core/ECMAScript.g4 +++ b/qt/org.eclipse.cdt.qt.qml.core/ECMAScript.g4 @@ -1,3 +1,11 @@ +/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems + * 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 + *******************************************************************************/ + // ECMA-262 5.1 grammar ECMAScript; diff --git a/qt/org.eclipse.cdt.qt.qml.core/QML.g4 b/qt/org.eclipse.cdt.qt.qml.core/QML.g4 index 9f23277c9f5..894b5e1b438 100644 --- a/qt/org.eclipse.cdt.qt.qml.core/QML.g4 +++ b/qt/org.eclipse.cdt.qt.qml.core/QML.g4 @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems + * 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 + *******************************************************************************/ grammar QML; import ECMAScript; diff --git a/qt/org.eclipse.cdt.qt.qml.core/src/org/eclipse/cdt/qt/qml/core/internal/Activator.java b/qt/org.eclipse.cdt.qt.qml.core/src/org/eclipse/cdt/qt/qml/core/internal/Activator.java index a98ee85aedd..bd81ecca373 100644 --- a/qt/org.eclipse.cdt.qt.qml.core/src/org/eclipse/cdt/qt/qml/core/internal/Activator.java +++ b/qt/org.eclipse.cdt.qt.qml.core/src/org/eclipse/cdt/qt/qml/core/internal/Activator.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems + * 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 + *******************************************************************************/ package org.eclipse.cdt.qt.qml.core.internal; import org.osgi.framework.BundleActivator; @@ -11,18 +18,10 @@ public class Activator implements BundleActivator { return context; } - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) - */ public void start(BundleContext bundleContext) throws Exception { Activator.context = bundleContext; } - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) - */ public void stop(BundleContext bundleContext) throws Exception { Activator.context = null; }