updateOKStatus() Validate the receiver and update the ok status.
Constructor Detail
ElementTreeSelectionDialog
public ElementTreeSelectionDialog(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider)(Code)
Constructs an instance of ElementTreeSelectionDialog.
Parameters: parent - The parent shell for the dialog Parameters: labelProvider - the label provider to render the entries Parameters: contentProvider - the content provider to evaluate the tree structure
Sets an optional validator to check if the selection is valid.
The validator is invoked whenever the selection changes.
Parameters: validator - the validator to validate the selection.