Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 201248 - More granular verification hooks required.
Summary: More granular verification hooks required.
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: DuWayne Morris CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 133099
Blocks:
  Show dependency tree
 
Reported: 2007-08-27 07:40 EDT by Paul Slauenwhite CLA
Modified: 2016-05-05 11:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2007-08-27 07:40:46 EDT
More granular verification hooks required.

AGR gives users the ability to also insert verification hooks based on a view, editor, or a shell.  Often, testers are interested in single widgets and need to search for the widget in the view, editor, or shell.  

When the user selects a widget in the UI to insert a verification hook, they should determine what level of the widget's ancestry they wanted passed into the verification hook method.
Comment 1 Paul Slauenwhite CLA 2007-08-27 08:10:22 EDT
Enhancement request.
Comment 2 Paul Slauenwhite CLA 2007-11-05 12:11:27 EST
Correcting priority since not a 4.5 candidate enhancement (see http://www.eclipse.org/tptp/home/documents/process/development/bugzilla.html).
Comment 3 Paul Slauenwhite CLA 2007-12-10 12:11:28 EST
In TPTP 4.5, the AGR was moved from a Technology Preview component to an As-Is component. As-Is components are primarily provided for prior users but imply no support (for example, defects, news group, and mailing lists) or commitment to triage or resolve opened defects. For this defect to be considered, please re-open with an attached patch including code to resolve the symptom and test cases to test the fix.
Comment 4 Paul Slauenwhite CLA 2007-12-17 08:17:12 EST
Closing.
Comment 5 Alexander Nyßen CLA 2008-01-30 23:54:41 EST
In the patch (revision of AGR) I uploaded to bug #133099 this issue is resolved by introducing a new "extended scope" mode to verification hook insertion, which will add one/two additional parameters to the verification hook method to pass in the selected widget and (optional) a nested (non-widget) object on it. 

The Draw2d extension of AGR proposed by the patch in bug #133099 demonstrates this by showing how a verification hook for IFigures located on a FigureCanvas widget is added in "extended scope" mode (the respective editor, the figure canvas and the figure are then passed into the hook method as parameters).