Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #193149 +++ As per bug #193149 comment 2, people may want to reset the scratchpad at times in order to get a fresh instance free of bugs. We should beef up the existing scratchpad's "Remove All" toolbar action to do a full reset such that people can be sure it will work properly from that point on.
Created attachment 74572 [details] Reset the views input if the view's input is not SystemScratchpad The Clear All Action already clears the SystemScratchpad, refresh's the view, and updates the action states. What was missing was setting the view's input to the SystemScratchpad if it somehow was changed. So now we do this: 1. Clear SystemScratchpad. 2. Check if the view's input needs to be changed and if it does change it to SystemScratchpad. 3. Refresh the view. 4. Set the selection to null to force a check action states update. Legal Message: I, Kevin Doyle, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL. I am authorized by my employer, IBM Canada Ltd. to make this contribution under the EPL.
I've committed the fix for this.