Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 64786

Summary: (Test)Provide context menu when right clicking on variable column header
Product: z_Archived Reporter: David Hodges <dkhodges>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: paulslau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460
Bug Depends on: 23103    
Bug Blocks: 82805    
Attachments:
Description Flags
Patch. none

Description David Hodges CLA 2004-05-31 14:17:12 EDT
No context menu available for variable name (column title), where as single 
left click open the variable name to be edited.

There is a context menu available for a cell in the data table, but if the 
user clicks within a column header, the context menu is not displayed.
Comment 1 Bianca Jiang CLA 2004-11-23 16:32:20 EST
*** Bug 79335 has been marked as a duplicate of this bug. ***
Comment 2 Bianca Jiang CLA 2004-11-24 11:05:42 EST
There is an enhancement request for SWT to provide mouse events on table 
columns (bugzilla# 32322). Currently there is no mouse event on table columns 
available except a selection event which is on mouse left click. This defect 
depends on the availability of rigth mouse event from table columns. I am 
adding the dependency on 32322.

Meanwhile, the problem described in 79335 can be worked around by adding a row 
in datapool and get the remove variable context menu on a cell. In addition, 
as the enhancement for data entry is implemented, new datapool will always 
start with at least one row and one column, in which case context menu will 
always be available on the existing cell.
Comment 3 Bianca Jiang CLA 2004-11-29 14:22:05 EST
More directly, there is an enhancement request for SWT to provide context menu 
on table column headers.  I am marking this one as a dup of 23103 and also 
added one vote for 23103.

To help promote the priority of 23103, you can add your vote at:
https://bugs.eclipse.org/bugs/votes.cgi?action=show_user&bug_id=23103

*** This bug has been marked as a duplicate of 23103 ***
Comment 4 Bianca Jiang CLA 2005-01-13 17:49:07 EST
changing the dependency on SWT bugzilla# 23103. This is not a duplicate of 
23103.
Comment 5 Bianca Jiang CLA 2005-04-08 15:53:05 EDT
[sizing = 3 days]
Comment 6 Bianca Jiang CLA 2005-10-11 13:26:43 EDT
Setting target to future due to unresolved dependency.
Comment 7 Paul Slauenwhite CLA 2008-06-27 13:43:52 EDT
This defect is still reproducible in TPTP 4.5.0 (http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0).  
Comment 8 Paul Slauenwhite CLA 2009-03-23 08:32:54 EDT
Considering for 4.6 since dependent defect has been resolved in Eclipse 3.5 M6.
Comment 9 Paul Slauenwhite CLA 2009-05-17 18:06:05 EDT
Created attachment 136132 [details]
Patch.
Comment 10 Paul Slauenwhite CLA 2009-05-17 18:08:17 EDT
The attached patch checked in to CVS (HEAD).

Requires a new test case.
Comment 11 Paul Slauenwhite CLA 2009-05-29 09:34:05 EDT
A new test case added to each of the following test suites:

/org.eclipse.hyades.test.ui.datapool.tests/manual/datapool/Test.UI.DatapoolEditor_editing.testsuite
Comment 12 Paul Slauenwhite CLA 2009-06-30 14:21:31 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.