I currently have a TabSet of tabs.
I want to be able to add a double click handler in a grid, by double clicking something, it will switch to one of the tabs Im not currently on. How do I achieve this?
Code:
List<Tab> tabList = new ArrayList<Tab>(); tabList.add(createTab("tab1", "Tab1", new TabPanel())); tabList.add(createTab("tab2", "Tab2", new TabPanel())); TabSet tabSet = new TabSet(); tabSet.setTabs(tabList.toArray(new Tab[tabList.size()]));
Comment