This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 229081 - Allow a way to bypass query builder
Summary: Allow a way to bypass query builder
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: John Todd CLA
QA Contact:
URL:
Whiteboard: new_tooling
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 11:05 EDT by Hubert Leung CLA
Modified: 2012-01-03 13:53 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Leung CLA 2008-04-28 11:05:05 EDT
For data managers that have metadata defined, we have to use the builder to form the query, which is inconvenient if we already have the query in a file.  I like to see a text box where I can paste in the query, even for data managers with metadata defined.
Comment 1 John Todd CLA 2008-04-29 16:12:21 EDT
This should in theory just involve adding a right-click option to bring up the old style query dialog box we used have before the query builder.

- John
Comment 2 Sheldon Lee-Loy CLA 2008-05-02 16:43:39 EDT
Yes similar to the view meta data..

Comment 3 Sheldon Lee-Loy CLA 2008-05-02 16:46:10 EDT
Reassigned wrong bug...
Comment 4 John Todd CLA 2008-05-05 09:43:15 EDT
Though I was reminded that the old query dialog box mechanism used the old mechanism to submit the query, so there's some refactoring work to be done there to talk to the new style datamanagers.

- John
Comment 5 John Todd CLA 2008-05-16 09:00:29 EDT
The query builder currently has a hook that says If a MDR does not have a service meta data then it uses the QueryDialog method that we now what to provide as a permanent option.

So my new plan is to change the query builder to say in addition to not having service meta data, it'll also use the QueryDialog if a force dialog flag is set.
So there will be an additional right click option that will call the query builder  with this flag.

- John
Comment 6 John Todd CLA 2008-05-16 10:20:25 EDT
These changes are checked in.

- JT
Comment 7 John Todd CLA 2008-05-16 10:21:09 EDT
Marking as fixed, issues can be tracked in their own bug.

- JT
Comment 8 John Todd CLA 2008-05-16 10:53:27 EDT
Verified the changes in CVS

- JT
Comment 9 Hubert Leung CLA 2008-06-16 17:32:50 EDT
I can see that the "Submit Query as Text..." option added in the popup menu.  

If an MDR does not have metadata defined (e.g. the SML MDR), both "Submit Query..." and "Submit Query as Text..." will lead to the same dialog box.  

Is it possible to hide the "Submit Query..." option if metadata is not available?  
Comment 10 John Todd CLA 2008-06-16 17:34:36 EDT
That sounds really hard.

- JT
Comment 11 Hubert Leung CLA 2008-06-16 17:45:54 EDT
I will close the enhancement and open a bug for this problem. 
Comment 12 Hubert Leung CLA 2008-06-16 17:46:41 EDT
close