void (final ActionEvent e) { final int selectedRow=getSelectedRow(); if(isEditing() || selectedRow==-1){ return; } final Property property=myProperties.get(selectedRow); if(getPropChildren(property).length>0){ if(isPropertyExpanded(property)){ collapseProperty(selectedRow); }else{ expandProperty(selectedRow); } }else{ startEditing(selectedRow); } }