void () { if (myElement == null) return; Element element = myElement.getChild(ELEMENT_LEFTPANEL); if (element != null) { final PsiElement parentElement = readParentElement(element); if (parentElement != null) { myLeftPanel.getBuilder().enterElement(parentElement, PsiUtilCore.getVirtualFile(parentElement)); } } element = myElement.getChild(ELEMENT_RIGHTPANEL); if (element != null) { final PsiElement parentElement = readParentElement(element); if (parentElement != null) { myRightPanel.getBuilder().enterElement(parentElement, PsiUtilCore.getVirtualFile(parentElement)); } } element = myElement.getChild(ELEMENT_SPLITTER); if (element != null) { final String attribute = element.getAttributeValue(ATTRIBUTE_PROPORTION); if (attribute != null) { try { final float proportion = Float.valueOf(attribute).floatValue(); if (proportion >= 0 && proportion <= 1) { mySplitter.setProportion(proportion); } } catch (NumberFormatException ignored) { } } } element = myElement.getChild(ELEMENT_OPTION); if (element != null) { //noinspection HardCodedStringLiteral MOVE_FOCUS = !"false".equals(element.getAttributeValue(ATTRIBUTE_MOVE_FOCUS)); } myLeftPanel.setActive(false); myRightPanel.setActive(false); myLeftPanel.setMoveFocus(MOVE_FOCUS); myRightPanel.setMoveFocus(MOVE_FOCUS); myElement = null; }