implemented switching between resource editors