Selecting custom scope

I'm adding custom scope and trying to select this scope.
So, after calling addScope I call
Scope is added and visible.
I'm trying to select this scope automatically using ProjectView.getInstance(project).changeView("Scope", scopeName).
New scope is selected for a moment, but then is changed to Project view (probably some polling thread).

I tried to run changeView in various threads and using various methods, but always it is changed to project scope.

Question is: how to delay this operation to be the last operation on a view?


Please sign in to leave a comment.