Add ability to record selection event on canvas

Change-Id: Ia8ab5df327552baec39f4e4ade02eb754067144e
Signed-off-by: Galina Shvetsova <galina.shvetsova@xored.com>
diff --git a/runtime/tesla/org.eclipse.rcptt.tesla.recording.swt/src/org/eclipse/rcptt/tesla/recording/core/swt/SWTEventRecorder.java b/runtime/tesla/org.eclipse.rcptt.tesla.recording.swt/src/org/eclipse/rcptt/tesla/recording/core/swt/SWTEventRecorder.java
index 64d1cef..d110345 100644
--- a/runtime/tesla/org.eclipse.rcptt.tesla.recording.swt/src/org/eclipse/rcptt/tesla/recording/core/swt/SWTEventRecorder.java
+++ b/runtime/tesla/org.eclipse.rcptt.tesla.recording.swt/src/org/eclipse/rcptt/tesla/recording/core/swt/SWTEventRecorder.java
@@ -569,9 +569,6 @@
 			return; // Set text will be recorded elsewhere
 		}
 
-		if (isCanvas(widget, type)) {
-			return;
-		}
 		if ((type == SWT.Selection || type == SWT.DefaultSelection)) {
 			processSelection(widget, event, type, ctx);
 		} else if (type == SWT.Modify && isSimpleTextControl(widget)) {
@@ -905,11 +902,6 @@
 		if (swtuiElement != null && swtuiElement.getKind().is(ElementKind.Unknown))
 			return true;
 
-		if ((widget instanceof Canvas && !(widget instanceof StyledText))
-				&& Arrays.asList(SWT.Selection, SWT.DefaultSelection).contains(type)) {
-			return true;
-		}
-
 		if (widget instanceof Combo && Arrays.asList(SWT.Selection, SWT.DefaultSelection).contains(type)) {
 			return true;
 		}