protected boolean isValidConfiguration(TabPanel configPanel) {
Component[] tabs = configPanel.getComponents();
for (int i = 0; i < tabs.length; i++) {
Component comp = tabs[i];
if (comp instanceof ValidatableTab) {
ValidatableTab tab = (ValidatableTab) comp;
if (!tab.isValid()) {
return false;
}
}
}
return true;