Package org.eclipse.jface.viewers
Interface ICheckStateProvider
public interface ICheckStateProvider
Interface to provide checked and grayed state information about data in trees
 or tables. The following chart determines the checkbox state:
 
 
| isGrayed() | |||
| false | true | ||
| isChecked() | false | unchecked | |
| true | checked | grayed | |
- Since:
- 3.5
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIndicates if an element's representation should appear as checked or gray instead of unchecked.booleanIndicates whether the check box associated with an element, when checked as indicated by theisChecked(Object)method, should display the gray (boxed) state instead of the check mark.
- 
Method Details- 
isCheckedIndicates if an element's representation should appear as checked or gray instead of unchecked. If this method returnstruetheisGrayed(Object)method will determine whether the check box displays a check mark ("checked") or a box ("grayed").- Parameters:
- element- the element to get state for
- Returns:
- true if the element should be checked or grayed, false if it should be unchecked
 
- 
isGrayedIndicates whether the check box associated with an element, when checked as indicated by theisChecked(Object)method, should display the gray (boxed) state instead of the check mark.- Parameters:
- element- the element to get state for
- Returns:
- true if the element should be gray
 
 
-