/** @throws Exception */ private void checkTab(String tabName) throws Exception { SWTBotCTabItem tabItem = editor.bot().cTabItem(tabName); tabItem.setFocus(); SWTBotTable table = editor.bot().table(); SWTBotTableColumn tCol = table.header("Translation of"); tCol.setFocus(); tCol = table.header("Kind"); tCol.setFocus(); SWTBotButton bttn = editor.bot().button("Edit Source Model"); assertFalse(bttn.isEnabled()); }
@Override public boolean isEnabled() throws RemoteException { return widget.isEnabled(); }