Skip to content
Snippets Groups Projects
Commit 506464da authored by Simon Barner's avatar Simon Barner
Browse files

- Override getText() to display no text

refs 2268
parent c40a3e6e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment