From 506464dafc3842c2a94e6f257a6196cf439f9fe4 Mon Sep 17 00:00:00 2001
From: Simon Barner <barner@fortiss.org>
Date: Wed, 25 Oct 2017 09:16:08 +0000
Subject: [PATCH] - Override getText() to display no text refs 2268

---
 .../tooling/base/ui/tablecell/CheckBoxLabelProvider.java  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/CheckBoxLabelProvider.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/CheckBoxLabelProvider.java
index 139e10ac2..7e9f0303e 100644
--- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/CheckBoxLabelProvider.java
+++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/CheckBoxLabelProvider.java
@@ -40,7 +40,7 @@ import org.eclipse.swt.widgets.Shell;
  * @author hoelzl
  * @author $Author$
  * @version $Rev$
- * @ConQAT.Rating YELLOW Hash: 262C0686171A717317A4E8F6D6A2160D
+ * @ConQAT.Rating YELLOW Hash: 6722E0E1A822CE8A27F4445261AE6163
  */
 // Using drawn images may seem strange, but internet sources could not provide
 // any other solution to having checkbox in cell editors
@@ -144,6 +144,12 @@ public abstract class CheckBoxLabelProvider extends ColumnLabelProvider {
 		return getImage(isChecked(element), isEnabled(element));
 	}
 
+	/** {@inheritDoc} */
+	@Override
+	public String getText(Object element) {
+		return null;
+	}
+
 	/** Tests the model objects checked state. */
 	protected abstract boolean isChecked(Object element);
 
-- 
GitLab