I am new new to GWT.
I have designed the Gui using GWT designer.
I my GUI I have tabPanel
with 4 tabs.
private TabPanel getWorkplacePanel() {
if (WorkplacePanel == null) {
WorkplacePanel = new TabPanel();
WorkplacePanel.setStyleName("Workpalce-MyWorkPlace");
WorkplacePanel.add(getMyWorkPlacePanel(), "My Workplace", false);
WorkplacePanel.add(getBrowsePanel(), "Browse", false);
WorkplacePanel.add(getSearchPanel(), "Search", false);
WorkplacePanel.add(getTaskPanel(), "Tasks", false);
WorkplacePanel.setSize("1450px", "750px");
}
return WorkplacePanel;
}
In every Tabs I have composite widgets. For Example on Browse Tab i have 2 composite tree ans table.
i want to click on the tabBrowse which is calling RPC.i know RPC call
But How to add click listener on the very particular tab as each Tab is calling different RPC.