Bug 503316 - Mark fitting listeners from org.eclipse.jface.viewers as
functional interfaces

Change-Id: Ic46ee69fe5abdbe772078227d40043d70fefac80
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ICheckStateListener.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ICheckStateListener.java
index 74586f9..38af37e 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ICheckStateListener.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ICheckStateListener.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 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
  * which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ *     Lars Vogel <Lars.Vogel@vogella.com> - Bug 503316
  *******************************************************************************/
 package org.eclipse.jface.viewers;
 
@@ -16,6 +17,7 @@
  *
  * @see CheckStateChangedEvent
  */
+@FunctionalInterface
 public interface ICheckStateListener {
     /**
      * Notifies of a change to the checked state of an element.
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IDoubleClickListener.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IDoubleClickListener.java
index 814f7ca..fae1b67 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IDoubleClickListener.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IDoubleClickListener.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 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
  * which accompanies this distribution, and is available at
@@ -7,12 +7,14 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ *     Lars Vogel <Lars.Vogel@vogella.com> - Bug 503316
  *******************************************************************************/
 package org.eclipse.jface.viewers;
 
 /**
  * A listener which is notified of double-click events on viewers.
  */
+@FunctionalInterface
 public interface IDoubleClickListener {
     /**
      * Notifies of a double click.
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ILabelProviderListener.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ILabelProviderListener.java
index 3b846fc..42bb662 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ILabelProviderListener.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ILabelProviderListener.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2015 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 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
  * which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ *     Lars Vogel <Lars.Vogel@vogella.com> - Bug 503316
  *******************************************************************************/
 package org.eclipse.jface.viewers;
 
@@ -16,6 +17,7 @@
  * @see IBaseLabelProvider#addListener
  * @see IBaseLabelProvider#removeListener
  */
+@FunctionalInterface
 public interface ILabelProviderListener {
     /**
      * Notifies this listener that the state of the label provider
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IOpenListener.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IOpenListener.java
index 34c3b4e..9680361 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IOpenListener.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/IOpenListener.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 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
  * which accompanies this distribution, and is available at
@@ -7,12 +7,14 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ *     Lars Vogel <Lars.Vogel@vogella.com> - Bug 503316
  *******************************************************************************/
 package org.eclipse.jface.viewers;
 
 /**
  * A listener which is notified of open events on viewers.
  */
+@FunctionalInterface
 public interface IOpenListener {
     /**
      * Notifies of an open event.