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
88d60e0b
Commit
88d60e0b
authored
Nov 20, 2017
by
Simon Barner
Browse files
Make CheckBoxEditingSupport applicable for TreeViewers.
TODO: Rename package (see #3176) refs 3176
parent
5368e65f
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/tablecell/CheckBoxEditingSupport.java
View file @
88d60e0b
...
...
@@ -21,7 +21,6 @@ import org.eclipse.jface.viewers.CellEditor;
import
org.eclipse.jface.viewers.CheckboxCellEditor
;
import
org.eclipse.jface.viewers.ColumnViewer
;
import
org.eclipse.jface.viewers.EditingSupport
;
import
org.eclipse.jface.viewers.TableViewer
;
/**
* {@link EditingSupport} for checkbox cells.
...
...
@@ -29,19 +28,17 @@ import org.eclipse.jface.viewers.TableViewer;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
GREEN
Hash:
0E48EDEDD7575A54341D6BE6926F079
2
* @ConQAT.Rating
YELLOW
Hash:
2EC9E3CC10AF755346867DAECA16735
2
*/
public
abstract
class
CheckBoxEditingSupport
extends
EditingSupport
{
/**
* Stores the shared cell editor.
*/
/** Stores the shared cell editor. */
private
CellEditor
cellEditor
;
/** Constructor */
public
CheckBoxEditingSupport
(
ColumnViewer
viewer
)
{
super
(
viewer
);
cellEditor
=
new
CheckboxCellEditor
(
((
TableViewer
)
viewer
).
getTable
());
cellEditor
=
new
CheckboxCellEditor
(
viewer
.
getControl
().
getParent
());
}
/** {@inheritDoc} */
...
...
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