Interfacing with query navigator window

User ad15b92aec

03-03-2009 20:54:24

Just curious, do you guys have a method that you use to insert items into the dropdown lists for the structure query module?  I really like that widget and I want to do some things with it.  If it's hard coded, is there a way to access the marvin object it contains?  I noticed a querycookie in your javadoc but it's currently undocumented.

Thanks a bunch...

ChemAxon fa971619eb

04-03-2009 10:59:12

Hi Nathan,

are you referring to the structure widget that appears in the query builder window? e.g this:

If so then I don't think you can currently customise this.

Can you give me an idea of what it is you are wanting to do?


User ad15b92aec

04-03-2009 19:11:29

That is the beastie, yes.

I would like to be able to integrate some of the custom queries and statistical methods we have cleanly into the user interface, rather than tacking them on in random spots.  I also really want to be able to specify custom queries of any sort using marvin-sketched molecules like you allow in your query window.  I looked in your api for methods to instantiate a marvin sketch pad and return a marvinstructure based on user input but I didn't find it.

A plugin API for your query system would be absolutely SUPER if you guys are taking feature requests :)

ChemAxon fa971619eb

05-03-2009 17:59:10

Yes, we most certainly are open to suggestions from users.

To access MarvinSketch you can work directly with the Marvin API. The key class you need is MSketchPane:

Its not clear to me what type of custom queries and statistical methods you are wanting. Are these defined in SQL?