Hi guys 

   i have create a Table.java and a Table Test.java class
  i have  a table snippet here::
    // table created
         Table table=new Table(shell,SWT.MULTI|SWT.BORDER );


       //Adding a row
         TableItem item2t= new TableItem(table, SWT.NONE);
            item2t.setText(0, "");//this is the cell i want to make editable
            item2t.setText(1, "Mr JD Kapoor");
            item2t.setText(2, "Tata Motors");
            item2t.setText(3, "TM0021");
            item2t.setText(4, "30");


        TableItem[] items = table.getItems();
            
            
            TableEditor editor=new TableEditor(table);
          Text texts = new Text(table, SWT.NONE);
          texts.setText("***");
          editor.grabHorizontal = true;
          editor.setEditor(texts,items[1], 0);
          editor = new TableEditor(table);

   //so on

     but when i use the SWTBot to get The Value at (2,0)
     it return BLANK i.e the Orignal value set ....

  How can i insert values into Table using SWTBot


Some Help on This Please

http://www.nabble.com/file/p19895688/issue.png 


-- 
View this message in context: 
http://www.nabble.com/Stuck-on-TableEditor-%21%21%21-tp19895688p19895688.html
Sent from the SWTBot Users List mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to