java - Tabbing order in eclipse form base editor plugin -


i working on form based plugin editor in eclipse. form contains 3 text fields , 1 table viewer , 4 button in same order.

i want add support through keyboard "tab" button. order of tabbing ok when user moves 1 text field 2nd , next. when user moves to/from table viewer, tab button doesn't work expected.

but til didn't write code handle tab ordering, can 1 tell me how implement behavior form.

thanks in advance..

look @ below method on composite

    public void settablist (control [] tablist)  ex:     composite comp = new composite(parent,swt.none);    comp.setlayout(new gridlayout(4,false));    button b1 = new button(comp,swt.none);    b1.settext("button1");    button b2 = new button(comp,swt.none);    b2.settext("button2");    button b3 = new button(comp,swt.none);    b3.settext("button3");    button b4 = new button(comp,swt.none);    b4.settext("button4");    comp.settablist(new control[]{b1,b3,b4,b2}); 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -