void (TreeSelectionEvent e) { // filter out temp unselect/select events if (getSelectedElementIfOnlyOne() instanceof ResourceBundleFileStructureViewElement) { ((CardLayout)myValuesPanel.getLayout()).show(myValuesPanel, NO_PROPERTY_SELECTED); writePreviouslySelectedPropertyValue(e); selectedPropertiesFile = null; selectedProperty = null; return; } if (Comparing.equal(e.getNewLeadSelectionPath(), e.getOldLeadSelectionPath()) || getSelectedProperty() == null) return; if (!arePropertiesEquivalent(selectedProperty, getSelectedProperty()) || !Comparing.equal(selectedPropertiesFile, getSelectedPropertiesFile())) { writePreviouslySelectedPropertyValue(e); selectedProperty = getSelectedProperty(); selectedPropertiesFile = getSelectedPropertiesFile(); selectionChanged(); } }