|partService.showPart with PartState.ACTIVATE [message #1758757]
||Sun, 02 April 2017 06:50
| Jay Norwood
Registered: July 2009
I just debugged a problem where I was showing some MParts in response to a tree element selection.|
I kept having a problem with the selections effectively locking up after a few presses. I had copied some code that used
It turns out the ACTIVATE took activation away from the MPart that had the tree in it, and then the selectionChanged events wouldn't fire off unless I clicked outside that part and then back on a tree element again.
All this was fixed by using PartState.VISIBLE instead of PartState.ACTIVATE
I'm just posting this for info. Not a bug, just a troublesome combination.
Powered by FUDForum
. Page generated in 0.01739 seconds