Fix mac build
Replaced 'if / else if' statements with 'switch / case' in ECEditorWindow::OnAboutToEditAttribute(..) for better performance