Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Unable to Enter Text in a Tree Cell
Unable to Enter Text in a Tree Cell [message #1020628] Mon, 18 March 2013 15:44
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
I have a Shell, In which i have Tree(SWTBotTree) which is In Table Format.
I want to click on a particular Cell and Enter Text inside the Text Field Enabled after the click.
After Clicking the Cell and Entering the Text, When i am clicking the Next Cell the Text in the Previous Cell get Disappeared.
Here is MY code..........

SWTBotTreeItem[] items =  bot.tree().getAllItems();
 for(SWTBotTreeItem ii : items )
          SWTBotText text = bot.text();
          text.setText("NEw TExt"); // set the text
          SWTBotText text = bot.text();
          text.setText("NExt TExt"); // set the text
Previous Topic:Scroll an eclipse view using SWT BOT
Next Topic:SWTBot: issue while using headless
Goto Forum:

Current Time: Sat Jun 23 10:44:49 GMT 2018

Powered by FUDForum. Page generated in 0.01941 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top