void (TreeSelectionEvent e) { if (selectedProperty != null && e.getOldLeadSelectionPath() != null) { for (Map.Entry<VirtualFile, EditorEx> entry : myEditors.entrySet()) { if (entry.getValue() == mySelectedEditor) { writeEditorPropertyValue(selectedProperty.getName(), mySelectedEditor, entry.getKey()); break; } } } }