Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
506464da
Commit
506464da
authored
Oct 25, 2017
by
Simon Barner
Browse files
- Override getText() to display no text
refs 2268
parent
c40a3e6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/CheckBoxLabelProvider.java
View file @
506464da
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment