Summary: | Incorrect Right Click Menu in Scratchpad after Clear Action Used | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] Target Management | Reporter: | Kevin Doyle <kjdoyle> | ||||||||
Component: | RSE | Assignee: | Kushal Munir <kmunir> | ||||||||
Status: | CLOSED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | kmunir | ||||||||
Version: | 2.0 | Keywords: | contributed | ||||||||
Target Milestone: | 2.0.1 | Flags: | ddykstal.eclipse:
review+
|
||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Kevin Doyle
2007-05-25 10:56:14 EDT
Created attachment 68791 [details]
After performing a clear operation the selection is set to null
This patch sets the selection to null after performing the clear operations and displays the refresh action on first right click in the empty scratchpad.
Kushal and I reviewed this patch earlier.
I will create a separate bug for the preference action being displayed in the right click menu when nothing is selected as it also appears on text.
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.
bug 189162 has been opened about preference action being displayed with nothing selected or a string of text being selected. Please add some non-javadoc comments describing what the _selectionFlagsUpdated does and why setting it false should force a rescan of the selections. Other than that it looks good. Created attachment 70132 [details]
Updated to includes comments on _selectionFlagsUpdated = false
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.
Created attachment 73047 [details]
Updated for latest code changes
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 Kevin's patch for this. Dave can you set the "contributed" flag for bug #194463 as well? Verified with I20070705-0600. |