Hi,
I embedded a org.eclipse.jface.viewers.CheckBoxTreeViewer.java within the GUI. For performing click operation over checkbox in treeItem I wrote following Code in SWTBotTreeItem.java file public SWTBotTreeItem setChecked (final boolean check) { checkEnabled(); syncExec(new VoidResult() { public void run() { getTree().setSelection(getTreeItem()); getTree().setFocus(); getTreeItem().setChecked(check); notifySelection(); } }); return this; } The way I implemented the Listener: checkboxTreeViewer = new CheckboxTreeViewer(lGroupControl,SWT.BORDER | SWT.V_SCROLL | SWT.FILL | DEBUG_BORDER); checkboxTreeViewer.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent pEvent) { //Source code } }); This method checks the checkbox but does not call the org.eclipse.jface.viewers.ICheckStateListener.checkStateChanged() method :( . Due to which all the operations written within this method cannot be called. Can anyone help on this? _________________________________________________________ Ankit Jain / Capgemini "India" / Bangalore Consultant/ Sogeti Com1: 080-6656700- extn: 8473 Com2: +919986017572 / www.capgemini.com <http://www.capgemini.com> Together. Free your energies _________________________________________________________ This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
<<image001.gif>>
<<image002.gif>>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse